Getting Regional setting options from code - vb6

I am working on a VB6 application. I need to get the regional settings options like
Location information
Standards and formats
Default input language
Language for non-unicode language
Is there any API available for this?
Thanks.

You can use GetLocaleInfo for this.
I found this example to be useful.

Related

How to interact with the language settings in Windows

I need to make a program that will change the language on windows, But I have no idea how to do it. How can I do this? Which interface i need? Where get the documentation?
If you are on Windows 10, you can TRY this (without needing a program):
Open up your Windows's Settings
Go to Time & Language
In there, you can adjust your preferred languages for your Windows (apps, websites, regional format, keyboard,...)
You can install other language packs if you need to.

In Protégé, Sinhala language Unicode does not work. Need a direction for correct it

I'm Using Protégé 5.5.0. When I was try to create ontology using Sinhala language, characters shown as array of boxes like below.
I have tried different solution that are mention in the web and Protégé GitHub page, But didn't work. Need help for solve this issue.
I have found the solution for this. The issue was with JavaVM font rendering. It does not support for Sinhala language. Therefore, I have changed properties of JavaVM.
Here find protégé-5.5.0 windows version that has rebuilt with Sinhala support.

How to change spell checker language

I'm using Poedit/1.8.11 on Windows 10 to manage translations for a CakePHP project, namely English and Spanish.
For each catalog, I've chosen the translation language from the drop down list so I presume they are correct:
In source *.po they look like this:
"Language: en_GB\n"
"Language: es_AR\n"
Nonetheless, spell checker is checking both translations as Spanish. The program does not seem to recognise the language and I can't find any menu item to pick it manually:
Online help does not even mention spelling. How do you set the spell checking language in Poedit?
This isn’t a programming question, but a “how to use Windows 10” one. In Windows 8+, the spellchecker always uses the language of your keyboard (which is a different thing from its layout!).
See https://superuser.com/questions/480540/how-can-i-change-the-spell-check-and-auto-correction-language-of-ie10-windows8 for detailed instructions.
As Václav Slavík explains, Poedit does not implement its own spell checking solution. Instead, it relies on Windows builtin spell checker.
In any case, Windows spell engine appears to ignore both current input language at OS level:
... and current translation language set in gettext catalogue:
Instead, it appears to merge the dictionaries of all available languages and run a simultaneous check on all of them:
I understand it's a feature aimed at mobile users since it's similar to what Android virtual keyboard does but in this particular case it renders the entire tool useless.
Given that configuring languages is particularly difficult and counter-intuitive, I recommend to just ignore the feature.

system locale language settings

I set my system locale language under "Region and Language" options in the Control Panel to Chinese, however it changes the default language for many of my English-default programs as well.
However, the most annoying thing is that, as I am also a developer, it changes many things in my command prompt command line displays to Chinese as well.
Does anyone know of a way to only change certain programs to use the Chinese system locale?
Please help.
Thanks
AppLocale
http://www.microsoft.com/download/en/details.aspx?id=13209
Additional procedure to install it in Vista or 7
http://www.mydigitallife.info/workaround-to-install-microsoft-applocale-utility-in-windows-vista/

gtk2 auto translation is choosing the wrong language

Not sure if yall can help this time, as I'm just using this particular program not coding with it...
I downloaded Deluge, a free torrent app, and it requires GTK2 Runtime which I've also installed. Unfortunately, on my English WinXP with East Asian Language support Deluge sets itself to Chinese menus and has no option to alter the language. A bit of poking around on the internet suggests this is due to GTK2 selecting the wrong default language.
Does anyone know how I can override this?
You caould try to change LC_MESSAGES or LANG environment variables to "C" (default locale, in 99% English) or your language code ("en" or "en_US" etc).

Resources