On Mon, 30 Jun 2008 09:04:21 +0200 "Graeme Geldenhuys" <[EMAIL PROTECTED]> wrote:
> 2008/6/30 Vincent Snijders <[EMAIL PROTECTED]>: > > > > Even if it doesn't contain Russian locale, you would be able to > > create such files in the windows explorer to create such file, for > > example by copy / pasting the file name while renaming it. > > > > Then let your fpGui program check for its existence. > > Under Linux I simply change the LANG environment variable and place > the fpgui_ru.po file in the directory, and it uses the Russian > language. I use GetText like done in Lazarus. How to I change the > language locale in Windows, so I can use the Russian translaction of > fpGUI? Can you test to create a chinese filename in the explorer. For example: 北方话.txt Then check if the file exists. This should work independent of the locale. With Utf8ToAnsi this can not work on 1-byte locales. Mattias _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal