PDA

View Full Version : Message Sources: Support for locale varients


Ted Husted
07-15-2005, 07:23 PM
In Java, we have a third index to locale, aside from country and language, called "variant".

Does .NET support variants?

If so, do we?

If not, can we?

Our use case is that our solution can be used by multiple departments, but a few of the entities have different labels. We like to nest a message source for each department, if possible, without pretending they speak different languages :wink:

-Ted.

Aleks Seovic
08-07-2005, 06:51 PM
I believe .Net does support variants, but not sure if it is what you need.

For example, my native language (Serbian), has two variants for two official alphabets that we use: cyrillic and latin. Thus, we use locale identifiers such as "sr-SP-Latn" and "sr-SP-Cyr". Now, most "normal" languages don't have variants, so you could probably use it to support your departmental localization, as long as you are certain that you won't be translating your application to Serbian or another "wierd" language that does use variants. :wink:

- Aleks