I develop an app for working with multi-language resources.
In database, when I need colomn with language identifier, I use language LCID.
Now I need to add new language – Latin. It’s LCID – 1142. But when I try to create new CultureInfo(1142) – exception thrown.
Is there any way to solve this problem? Somehow add Latin language to CultureInfo available languages.
Thank you for your answers.
I don’t believe that is possible. Latin is not supported as a culture.
The .NET Framework has specific functionality for creating custom cultures, but you don’t get to decide the LCID. The LCID is always
0x1000for a custom culture.You may be better off storing the name of the culture in the database, instead of the LCID. This would allow you to load custom cultures since they are always loaded by name. Once that is done, you can proceed to create your own culture.