Locale problem with Wine

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
cb951303
Newbie
Newbie
Posts: 2
Joined: Wed Feb 18, 2009 11:04 am

Locale problem with Wine

Post by cb951303 »

Hello, I can't seem to make World of Warcraft recognize my locale.
In windows all the special keys that belongs to my locale (tr_TR) works so I know for a fact that WoW supports it. After some google research I learned that I need to set my locale settings manually. First of all here is some outputs

Code: Select all

xxx@xxx-desktop:~$ locale -a
C
en_AU.utf8
en_BW.utf8
en_CA.utf8
en_DK.utf8
en_GB.utf8
en_HK.utf8
en_IE.utf8
en_IN
en_NG
en_NZ.utf8
en_PH.utf8
en_SG.utf8
en_US.utf8
en_ZA.utf8
en_ZW.utf8
POSIX
tr_TR
tr_TR.utf8

Code: Select all

xxx@xxx-desktop:~$ export LC_ALL="tr_TR"

Code: Select all

xxx@xxx-desktop:~$ locale
LANG=en_US.UTF-8
LC_CTYPE="tr_TR"
LC_NUMERIC="tr_TR"
LC_TIME="tr_TR"
LC_COLLATE="tr_TR"
LC_MONETARY="tr_TR"
LC_MESSAGES="tr_TR"
LC_PAPER="tr_TR"
LC_NAME="tr_TR"
LC_ADDRESS="tr_TR"
LC_TELEPHONE="tr_TR"
LC_MEASUREMENT="tr_TR"
LC_IDENTIFICATION="tr_TR"
LC_ALL=tr_TR
After this I run WoW with Wine 1.1.14 and when I type for testing I get these (left side is the pressed key on keyboard, right side is what I get on screen)

Image

Interestingly the last 3 chars works. I guess thats because they also belong to some other locales too. But the first 3 chars are only tr_TR specific, and they don't work 100% (no accent or cedilla)

I also tried it with "tr_TR.utf8" and the result is same.

Any ideas?

Thanks
K4Z00
Level 2
Level 2
Posts: 45
Joined: Sun Jun 29, 2008 3:53 pm

Post by K4Z00 »

when trying something similar
edited the desktop icon to point to

Code: Select all

env LANG="en_EN.UTF-8" WINEPREFIX="/home/user/.wine" wine "C:\Program Files\xxxx\Test.exe"
obviously substituting your locale
and appropriate path to .wine & program
hope it helps
cb951303
Newbie
Newbie
Posts: 2
Joined: Wed Feb 18, 2009 11:04 am

Post by cb951303 »

that worked perfectly, thanks.

so I should set the LANG var instead of LC_ALL
good to know!
Locked