You are not logged in.

#1 2010-05-09 10:47:07

ancient_archer
Member
From: Slovakia
Registered: 2010-03-13
Posts: 107

locale question

Hello.

Is there any way to set up locale in such way that the language of all applications would be Czech, but everything other (keyboard, time, money etc.) would be in Slovak?

I would like to set it up this way because GNOME translation in Czech is about 100% while in Slovak it's only about 60% and it would be just nicer to have it in Czech.

Any ideas?

Thanks. tongue

Offline

#2 2010-05-09 12:12:21

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: locale question

if you want it system wide, make a file in /etc/profile.d that sets the locale as you like. (make sure that it will be executed after locales.sh, eg by starting it's name with x)
If you only want it for a user, edit that users ~/.bashrc or whatever.

Last edited by Mr.Elendig (2010-05-09 12:13:40)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#3 2010-05-11 15:06:20

ancient_archer
Member
From: Slovakia
Registered: 2010-03-13
Posts: 107

Re: locale question

Please could you be more specific? I'm not so advanced in Linux yet.

1) So, if understand it correctly, I make a text file where I add something like this (remember, I want to have only applications translated...)

LANG=sk_SK.utf8
LC_CTYPE="sk_SK.utf8"
LC_NUMERIC="sk_SK.utf8"
LC_TIME="sk_SK.utf8"
LC_COLLATE="sk_SK.utf8"
LC_MONETARY="sk_SK.utf8"
LC_MESSAGES="cz_CZ.utf8"
LC_PAPER="sk_SK.utf8"
LC_NAME="sk_SK.utf8"
LC_ADDRESS="sk_SK.utf8"
LC_TELEPHONE="sk_SK.utf8"
LC_MEASUREMENT="sk_SK.utf8"
LC_IDENTIFICATION="sk_SK.utf8"
LC_ALL=

2) But then, how do I make Arch to use it like I want?

Thanks

Offline

#4 2010-05-11 15:41:36

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: locale question

ancient_archer wrote:

Please could you be more specific? I'm not so advanced in Linux yet.

1) So, if understand it correctly, I make a text file where I add something like this (remember, I want to have only applications translated...)

LANG=sk_SK.utf8
LC_CTYPE="sk_SK.utf8"
LC_NUMERIC="sk_SK.utf8"
LC_TIME="sk_SK.utf8"
LC_COLLATE="sk_SK.utf8"
LC_MONETARY="sk_SK.utf8"
LC_MESSAGES="cz_CZ.utf8"
LC_PAPER="sk_SK.utf8"
LC_NAME="sk_SK.utf8"
LC_ADDRESS="sk_SK.utf8"
LC_TELEPHONE="sk_SK.utf8"
LC_MEASUREMENT="sk_SK.utf8"
LC_IDENTIFICATION="sk_SK.utf8"
LC_ALL=

2) But then, how do I make Arch to use it like I want?

Thanks

Mr.Elendig wrote:

if you want it system wide, make a file in /etc/profile.d that sets the locale as you like. (make sure that it will be executed after locales.sh, eg by starting it's name with x)
If you only want it for a user, edit that users ~/.bashrc or whatever.


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

Board footer

Powered by FluxBB