Getting Visual Studio to create pseudo-language assembly assemblies (qps-ploc)

I created pseudo-localized versions of application resource files (for example, Order Summary and Payment localized as [[[[[Òŕd̂ër̊ S̀úm̂m̈år̀ý ân̈d̊ P̀áŷm̈e̊ǹt́]]]]] ) so that we can check localization errors before receiving the actual translations.

I named them using the qps-ploc resource id to match the existing pseudo-locale id. my pseudo-localized version of Details.resx is called Details.qps-ploc.resx .

However, when I add these resx files to the project, Visual Studio ignores them. If I rename them using the "real" language code (for example, Details.fr-FR.resx ), Visual Studio will create a subfolder with this language code and build a satellite assembly.

So it seems to me that Visual Studio rejects qps-ploc (even without a build warning). Am I missing something, or can anyone suggest a way to get these qps-ploc resources created as part of my Visual Studio project?

+4
source share
1 answer

QPS locators work fine in my ASP.NET web application with .resx files (not compiled dll resources), however I found this MS article to include pseudo-locales in the registry. Perhaps this will help.

Using pseudo-locales to test localization

Alternatively, you can create custom locales as indicated in this MS article:

How to create custom cultures

Sincerely.

+3
source

Source: https://habr.com/ru/post/1387213/


All Articles