Are there distinct objects for writing systems in CultureInfo?

Hi all -

This is more of a question about C# in general as it relates to languages, but it bears on a translation engine plugin I'm writing for Trados.

Some languages can be written in more than one writing system. E.g., Serbian can be written in the Latin or Cyrillic alphabets. The way this seems to be implemented in CultureInfo in the language pairs is that there's a neutral CultureInfo object for Serbian Cyrillic called sb-Cyrl; but there doesn't seem to be a way to extract the fact that the writing system is Cyrillic - the same Cyrillic as Russian uses - except by parsing the name. I've looked at the documentation for the TextInfo member, and I suspect I could probably torture one of the code page fields to cough up this information, but I'm wondering whether there's a standard way to do it.

Thanks in advance.

Parents Reply Children
No Data