Hi all, I'm trying to change the registry value using both regedit tool and manually edit file user.reg to change Wine regional setting to Thai bye the following key. [Control Panel\\International] 1276837520 "iCalendarType"="7" "iCountry"="66" "Locale"="000004E1" "sCountry"="Thailand" "sCurrency"="\xe3f" //Thai Baht sign in ascii code "sLanguage"="THA" "sShortDate"="d/M/yyyy" The weird things occur, each time I run wine application such as notepad.exe, regedit or Lotus Approach some value in user.reg has been change automatically to default value. these are "Locale"="00000400" "sCountry"="English United States" "sCurrency"="$" //Thai Baht sign in ascii code "sLanguage"="ENU" "sShortDate"="M/d/yyyy" I also try to change permission of user.reg to something like 400 and also change its owner to root:root but after running some wine app the file permission was reset to user:user and 544 [Evil or Very Mad] ------------------------------------------------ For more information: I try to use Lotus Approach on Wine to access the shared database file on network drive. Every time I open the database with Approach on Wine, other Windows users who try to access the same file got the error message that this file already open in other language. This problem occurs by several computers access the same Approach database file with different regional setting. Most of my Windows user set their Regional setting to Thai but Wine seem to represent itself as English United States. I prove this by change the Windows Computer regional setting to English United State to match Wine and the problem gone, But doing so I have to manually change about 10 Windows computer just to support small amount of new comer linux desktop. I try to change Wine regional setting using env in command line env LANG=th_TH wine ... and env LANG=th_TH.UTF-8 wine ... but both didn't work. I figure out from Windows registry that those keys should be change but... the current problem is Wine keep automatic change my value back. -------------------
James Mckenzie
2010-Jun-18 14:09 UTC
[Wine] user.reg keep constant value!!! - Lotus Approach
chettawan <wineforum-user at winehq.org> wrote:> >Hi all, > I'm trying to change the registry value using both regedit tool and manually edit file user.reg to change Wine regional setting to Thai bye the following key. >[changes for Thai language removed]> >The weird things occur, each time I run wine application such as notepad.exe, regedit or Lotus Approach some value in user.reg has been change automatically to default value. these are > > >I also try to change permission of user.reg to something like 400 and also change its owner to root:root but after running some wine app the file permission was reset to user:user and 544 [Evil or Very Mad] >Do NOT change the permissions of this file. It will BREAK your ability to run Wine. Also, this file is modified each time you run Wine. Also DO NOT RUN WINE AS ROOT, unless you really, really need to. That being said, what Operating System, Distribution and version are you using (i.e. Linux, Slackware 13) If you are running Wine on a Mac using MacOSX, there is a lengthy thread in the forums on what you have to do. The quickest method of fixing the problem is to switch your system to the Thai language. If you use English as your primary language, Wine will select and use it. James McKenzie
chettawan
2010-Jun-20 04:33 UTC
[Wine] Re: user.reg keep constant value!!! - Lotus Approach
Hi James Thank you very much!!! :P Your post remind me that may be Ubuntu 10.04 may have some place which I can set it regional like Windows. After some testing I've got the perfect solution. Goto System -> Administration -> Language Support At Language Tab choose Install/Remove Language to add your Language, In my case Thai. On Component Check box, select to download all or if you want to leave your Gnome interface language English just uncheck Translation then Apply Change After add-on packages installed Click tab "Text" choose your Language in the only one drop down list there and click Apply system wide then restart. When you open Lotus Approach (no special env) the problem about DB open in other language will gone [Twisted Evil] Thankss [Wink]