Dmitry Timoshkov wrote:
create an appropriate locale setup: ACP/OEMCP/MACCP and fonts.
Great Idea !
+;; File generated automatically from dlls/kernel/nls/*.nls; do not edit!
Would you like to add the script to CVS also?
+;; This should be run through setupapi: +;; rundll32 setupapi.dll,InstallHinfSection LCID 0 wine_intl.inf +;; where LCID is locale id, for instance 00000409 for US English.
Why did you not use the first Part of $LANG / $LANGUAGE (maybe with a Prefix) as Index? (LOCALE_SISO639LANGNAME and LOCALE_SISO3166CTRYNAME)
It's easy to calculate the Index in wineprefixcreate with "cut" and it works for everybody.
What about "Default" and "InstallLanguage" in "System\CurrentControlSet\Control\Nls\Language"? (LOCALE_IDEFAULTLANGUAGE)