Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Getting Visual Studio to build pseudo-language (qps-ploc) satellite assemblies

I've generated pseudo-localized versions of an app's resource files (for example Order Summary and Payment is localized as [[[[[Òŕd̂ër̊ S̀úm̂m̈år̀ý ân̈d̊ P̀áŷm̈e̊ǹt́]]]]]) so that we can test for localizability bugs ahead of getting actual translations.

I have named them using the qps-ploc resource identifier to match the existing pseudo-locale identifier, e.g. my pseudo-localized version of Details.resx is named Details.qps-ploc.resx.

However when I add these resx files to the project, Visual Studio ignores them. If I rename them using a "real" language code (such as Details.fr-FR.resx) then Visual Studio does create a subfolder named with this language code and builds the satellite assembly.

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

like image 224
Clafou Avatar asked Oct 09 '22 04:10

Clafou


1 Answers

The qps- locales work fine in my ASP.NET web application with .resx files (not compiled resource dll), however, I did find this MS article on enabling pseudo locales in the registry. Perhaps it will help.

Using Pseudo-Locales for Localization Testing

Additionally, you may wish to create custom locales, as given in this MS article:

How to: Create Custom Cultures

Best regards.

like image 141
Doug Domeny Avatar answered Oct 13 '22 12:10

Doug Domeny