Hello, |
Re: DXL for changing the GUI language? Don't know. But here's a script that dumps some information, and I presume this will work
/* some Locale command I found in the doors.exe
Locale locale(int) LocaleFromID
int id(Locale) GetLocaleID
string name(Locale) GetLocaleName
string language(Locale) GetLanguageName
Locale userLocale() is this the current locale?
Locale getSystemLocale() Current Local?
Locale getLegacyLocale() GetLegacyLocale
string setLegacyLocale(Locale) etLegacyLocale
for Locale in supportedLocales do
for Locale in installedLocales do
string setSystemLocale(Locale l) setSystemLocale
string setLegacyLocale(Locale) SetLegacyLocale
*/
/* This didn't work
int i
for (i=1; i<400; i++)
{ loc = locale(i)
//if (null loc) break
if (null loc) print i " null\n"
else print i "\t" name(loc) "\t" language(loc) "\n"
}
*/
Locale loc
print "Supported...\n"
for loc in supportedLocales do
{ print id(loc) "\t" name(loc) "\t" language(loc) "\n"
}
print "Installed...\n"
for loc in installedLocales do
{ print id(loc) "\t" name(loc) "\t" language(loc) "\n"
}
|