View previous topic :: View next topic |
Author |
Message |
lo-jay l33t
Joined: 27 Feb 2005 Posts: 862
|
Posted: Tue Mar 07, 2006 11:21 pm Post subject: what keeps overwriting my locale??? |
|
|
trying to set up the locale for english a n d chinese, somehow i do not succeed:
/etc/locales.build
Code: | en_US/ISO-8859-1
en_US.UTF-8/UTF-8
de_DE/ISO-8859-1
de_DE@euro/ISO-8859-15
fr_FR/ISO-8859-1
fr_FR@euro/ISO-8859-15
zh_CN.UTF-8/UTF-8
zh_CN.GB2312/GB2312
zh_CN.GB18030/GB18030
|
/etc/env.d/02locale
Code: | LANG=en_US.UTF-8
LC_TYPE=zh_CN.UTF-8 |
& home/jan/.bash_profile
Code: | LANG=en_US
LC_CTYPE=zh_CN.GB2312
LC_NUMERIC="zh_CN"
LC_TIME=en_US
LC_COLLATE="zh_CN"
LC_MESSAGES=en_US
LC_PAPER="zh_CN"
LC_NAME="zh_CN"
LC_ADDRESS="zh_CN"
LC_TELEPHONE="zh_CN"
LC_MEASUREMENT="zh_CN"
LC_IDENTIFICATION="zh_CN"
LC_ALL=
|
still if i i always get
Code: | LANG=en_US
LC_CTYPE="en_US"
LC_NUMERIC="en_US"
LC_TIME="en_US"
LC_COLLATE="en_US"
LC_MONETARY="en_US"
LC_MESSAGES="en_US"
LC_PAPER="en_US"
LC_NAME="en_US"
LC_ADDRESS="en_US"
LC_TELEPHONE="en_US"
LC_MEASUREMENT="en_US"
LC_IDENTIFICATION="en_US"
LC_ALL=
|
only english shows up. as a consequence all my apps get compile w/out support for chinese...
is there another config file i keep overseeing - really confused .
thanks again! _________________ lo-jay
The mechanic "One of 'em Dodge Chargers - let him go by."
The driver "Not today!"
taken from "Two Lane Blacktop" |
|
Back to top |
|
|
pianosaurus l33t
Joined: 19 Apr 2004 Posts: 944 Location: Bash$
|
Posted: Thu Mar 09, 2006 3:45 pm Post subject: |
|
|
Hmm. Your /etc/env.d/02locale says LC_TYPE instead of LC_CTYPE. Shouldn't matter though. In fact, I thought the environment variables didn't matter on what is built. I always run emerge as root, where all the LCs are set to english, but I still have norwegian in my apps when run as a user. Do you have the nls use flag set? _________________ PKA Cuber
Please add [SOLVED] to the subject of your original post when you feel that your problem is resolved.
Adopt an unanswered post |
|
Back to top |
|
|
lo-jay l33t
Joined: 27 Feb 2005 Posts: 862
|
Posted: Thu Mar 09, 2006 5:34 pm Post subject: |
|
|
hey Cuber,
the missing C really seemed to be the problem.
corrected it & now locales look like this: Code: | jan@tux1 ~ $ locale
LANG=en_US
LC_CTYPE=zh_CN.GB2312
LC_NUMERIC="en_US"
LC_TIME="en_US"
LC_COLLATE="en_US"
LC_MONETARY="en_US"
LC_MESSAGES="en_US"
LC_PAPER="en_US"
LC_NAME="en_US"
LC_ADDRESS="en_US"
LC_TELEPHONE="en_US"
LC_MEASUREMENT="en_US"
LC_IDENTIFICATION="en_US"
LC_ALL=
|
my next problem is openoffice-bin. so far i do not have any chinese fonts in it. recompile - but to no avail...
as far as i understand it relies on the linguas variable in /etc/make.conf
Code: | LINGUAS="de en zh_CN" | ???
mange tak!!! _________________ lo-jay
The mechanic "One of 'em Dodge Chargers - let him go by."
The driver "Not today!"
taken from "Two Lane Blacktop" |
|
Back to top |
|
|
pianosaurus l33t
Joined: 19 Apr 2004 Posts: 944 Location: Bash$
|
Posted: Fri Mar 10, 2006 8:53 pm Post subject: |
|
|
lo-jay wrote: | my next problem is openoffice-bin. so far i do not have any chinese fonts in it. recompile - but to no avail...
as far as i understand it relies on the linguas variable in /etc/make.conf
Code: | LINGUAS="de en zh_CN" |
|
I don't think the sub-type works in LINGUAS. Try instead
lo-jay wrote: | mange tak!!! | Bare hyggelig _________________ PKA Cuber
Please add [SOLVED] to the subject of your original post when you feel that your problem is resolved.
Adopt an unanswered post |
|
Back to top |
|
|
Deathwing00 Bodhisattva
Joined: 13 Jun 2003 Posts: 4087 Location: Dresden, Germany
|
Posted: Fri Mar 10, 2006 10:50 pm Post subject: |
|
|
Moved from Desktop Environments to Other Things Gentoo: Not a desktop environment problem. |
|
Back to top |
|
|
|