[Bug 3560] Wine should use LC_LANG instead of LC_ALL [Was:Winecfg interface with GUI issues]

Wine Bugs wine-bugs at winehq.org
Sat Oct 15 07:25:19 CDT 2005


http://bugs.winehq.org/show_bug.cgi?id=3560





------- Additional Comments From I-SAngeli at siriush.com  2005-15-10 07:25 -------
Hi Jonathan,

according to what you posted, I have to declare LC_ALL= and otherwhise this
creates theproblems. Is this correct, so far? Did I get it?

Well, my goal is to have the following localization in "Italian and US English".
So, I apply these changes to /etc/env.d/02locale and here is my goal divided
into two sections for better explanation:
ITALIAN SECTION:
-----------------------------
LC_NUMERIC="it_IT.UTF-8"
LC_MONETARY="it_IT.UTF-8"
LC_PAPER="it_IT.UTF-8"
LC_MEASUREMENT="it_IT.UTF-8"

ENGLISH SECTION:
-----------------------------
LC_CTYPE="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LANG="en_US.UTF-8"

With the above setting, living LC_ALL="" empty here is the result of my current
"locale"

LANG=en_US.UTF-8
LC_CTYPE=en_US.UTF-8
LC_NUMERIC=it_IT.UTF-8
LC_TIME=en_US.UTF-8
LC_COLLATE=en_US.UTF-8
LC_MONETARY=it_IT.UTF-8
LC_MESSAGES=en_US.UTF-8
LC_PAPER=it_IT.UTF-8
LC_NAME=en_US.UTF-8
LC_ADDRESS=en_US.UTF-8
LC_TELEPHONE=en_US.UTF-8
LC_MEASUREMENT=it_IT.UTF-8
LC_IDENTIFICATION=en_US.UTF-8
LC_ALL=

WHICH IS WHAT I AIM TO.

Now, if I rather apply the change to LC_ALL=, according to the "LC_ALL If set to
a non-empty string value, override the values  of  all the other
internationalization variables.", and make let's say LC_ALL="it_IT.UTF-8" this
is the result of my "new locale":
LANG=en_US.UTF-8
LC_CTYPE="it_IT.UTF-8"
LC_NUMERIC="it_IT.UTF-8"
LC_TIME="it_IT.UTF-8"
LC_COLLATE="it_IT.UTF-8"
LC_MONETARY="it_IT.UTF-8"
LC_MESSAGES="it_IT.UTF-8"
LC_PAPER="it_IT.UTF-8"
LC_NAME="it_IT.UTF-8"
LC_ADDRESS="it_IT.UTF-8"
LC_TELEPHONE="it_IT.UTF-8"
LC_MEASUREMENT="it_IT.UTF-8"
LC_IDENTIFICATION="it_IT.UTF-8"
LC_ALL=it_IT.UTF-8

WHICH IS TOTALLY WRONG.

Now, could you please illustrate what is wrong so far in what I am doing? My
"only" way to make locale behave properly is to let LC_ALL=

If you can achieve what I above intend to set with my goal still with LC_ALL="a
language" please post here so that I learn something new and implement it
immediately.

thank you,
Spiro

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list