How can I get the ISO-Language identifier of the current user?
-
Hello, I am currently trying to get the default language of the current User-Settings from Windows, I have found that there is a Function called GetLocaleInfo, which returns a numeric language Identifier, when I pass LOCALE_ILANGUAGE. What I need now is a way of determining the three-character ISO-name of that language, i.e. ARA for Arabic BGR for Bulgarian CAT for Catalan DAN for Danish DEU for German ELL for Greek ENU for English ESP for Spanish FIN for Finnish and so on. In .NET, there is a class called "CultureInfo", however, I need this for my MFC project. Is there a way to get the ISO-language of the user?
-
Hello, I am currently trying to get the default language of the current User-Settings from Windows, I have found that there is a Function called GetLocaleInfo, which returns a numeric language Identifier, when I pass LOCALE_ILANGUAGE. What I need now is a way of determining the three-character ISO-name of that language, i.e. ARA for Arabic BGR for Bulgarian CAT for Catalan DAN for Danish DEU for German ELL for Greek ENU for English ESP for Spanish FIN for Finnish and so on. In .NET, there is a class called "CultureInfo", however, I need this for my MFC project. Is there a way to get the ISO-language of the user?