Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
LANGUAGE i staden for LC_ALL
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Scandinavian
View previous topic :: View next topic  
Author Message
korsvoll
n00b
n00b


Joined: 03 Nov 2002
Posts: 12
Location: Trondheim, Norway

PostPosted: Fri May 23, 2003 1:03 pm    Post subject: LANGUAGE i staden for LC_ALL Reply with quote

Hei

Eg har eit tips om å setje riktig miljøvariabel for bruk av norsk språk. Du kan setja LANGUAGE til å innehalde ei kolonseparert liste over språk i prioritert rekkefylgje. Då vil du kunne få t.d. bokmålsomsetjinga av programmet viss det ikkje er omsett til nynorsk.
Code:

LANGUAGE=nn_NO:nb_NO:no_NO:gb_EN:us_EN


I fylgje [2] vil LANGUAGE ha prioritet over LC_MESSAGES, men vil berre gjelde for GNU gettext.

[1] http://www.opengroup.org/onlinepubs/007908799/xbd/envvar.html
[2] http://en.tldp.org/HOWTO/Unicode-HOWTO-3.html
_________________
Håvard
-------------------------------------
Let's make things move forward
Back to top
View user's profile Send private message
rounin
Tux's lil' helper
Tux's lil' helper


Joined: 13 Apr 2003
Posts: 84

PostPosted: Thu Jun 05, 2003 8:04 am    Post subject: Reply with quote

Den var jammen ikke dum. LANGUAGE kan også brukes til å få engelsk språk på et program som bruker asiatisk input, for eksempel. LANG-variablen har ikke samme nytten som LANGUAGE, fordi den må være det samme som LC_ALL.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Scandinavian All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum