View previous topic :: View next topic |
Author |
Message |
double_crane Tux's lil' helper
Joined: 11 Dec 2011 Posts: 134 Location: China
|
Posted: Sun Apr 07, 2013 7:30 am Post subject: [Solved] how to set specific LINGUAS for specific softs |
|
|
I use en_US as the default value for LINGUAS.
but when use some specific softs ,like gimp,or some others,my English is so poor that I can't always understand the meaning of menus immediately,without the help of stardict.
so I emerge like this ,LINGUAS=zh_CN emerge gimp,
and my question is ,how to set LINGUAS=zh_CN for gimp while keep other soft LINGUAS=en_US in /etc/make.conf.
in /etc/portage ,there're portage.keywords,license,use,unmask
which is the right one to set LINGUAS ? and how to set?
thank you
Last edited by double_crane on Sun Apr 07, 2013 10:10 am; edited 1 time in total |
|
Back to top |
|
|
double_crane Tux's lil' helper
Joined: 11 Dec 2011 Posts: 134 Location: China
|
Posted: Sun Apr 07, 2013 7:40 am Post subject: |
|
|
#: LINGUAS=zh_CN emerge gimp , doesn't work
menu is still in English
now I'm trying # LINGUAS=zh_CN emerge -uDN gimp
#####################################
still failed.
####################################
sorry, I had forgot to set LANG=zh_CN when use gimp
it works
Last edited by double_crane on Sun Apr 07, 2013 10:12 am; edited 1 time in total |
|
Back to top |
|
|
tomk Bodhisattva
Joined: 23 Sep 2003 Posts: 7221 Location: Sat in front of my computer
|
Posted: Sun Apr 07, 2013 8:33 am Post subject: |
|
|
You can set per-package LINGUAS in /etc/portage/package.use:
Code: | media-gfx/gimp linguas_zh_CN |
_________________ Search | Read | Answer | Report | Strip |
|
Back to top |
|
|
hdcg Tux's lil' helper
Joined: 07 Apr 2013 Posts: 119
|
|
Back to top |
|
|
fpemud Guru
Joined: 15 Feb 2012 Posts: 349
|
Posted: Sun Apr 07, 2013 9:02 am Post subject: |
|
|
I think you should set LINGUAS="en_US zh_CN" in make.conf, so every package can have both english and chinese locale.
when running gimp, use:
Code: | LC_ALL="zh_CN.UTF-8" gimp |
|
|
Back to top |
|
|
double_crane Tux's lil' helper
Joined: 11 Dec 2011 Posts: 134 Location: China
|
Posted: Sun Apr 07, 2013 10:09 am Post subject: |
|
|
yes,I have forgot to set LANG=zh_CN when use gimp
it works.
thank you all. |
|
Back to top |
|
|
double_crane Tux's lil' helper
Joined: 11 Dec 2011 Posts: 134 Location: China
|
Posted: Sun Apr 07, 2013 10:18 am Post subject: |
|
|
nice
you register today,but with so experience. admire... |
|
Back to top |
|
|
|