Lenny. Locales and Interface Language

2009-05-18 Thread Mark Goldshtein
Hello, list!

Would you, please, help me to explain how locales work in Lenny? I
have checked docs but something remains unclear. If you have time,
please, answer a few questions below:

1. Is a default system locale independent from an interface language?
I mean, is it possible to change a default system locale to whatever I
like and there will be no harm to English interface I have?

2. Is it will be enough to switch a default system locale via #
dpkg-reconfigure locales
?
In this case, locales I have chosen before, will be regenerated and
there will be no harm to current set of locales and I will have a
chance to change default system locale, right?

3. Is that correct method to change default system locale or I should
use another one, like to edit some configuration files manually?

4. Do I need to reboot the system after that 'dpkg-reconfigure locales'?

Thanks for your time and effort!

-- 

Sincerely Yours'
Mark Goldshtein


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Lenny. Locales and Interface Language

2009-05-18 Thread Jan Willem Stumpel
Mark Goldshtein wrote:

 1. Is a default system locale independent from an interface
 language? I mean, is it possible to change a default system
 locale to whatever I like and there will be no harm to English
 interface I have? [..]

It depends on what you mean by changing the locale.

AFAIK the locale *mainly* determines the user interface.
Messages and prompts from programs, date and currency formats,
paper size (eg Letter for US locales), number format (e.g.
thousands separator is comma in some locales, period in others), etc.

Note that messages and prompts from programs for various locales
have to be provided by the programs themselves. If they are not,
messages, etc., will be provided in some default language
(invariably English). Also, it is up to the programs to pay
attention to the locale; if they do not, they will generate e.g.
numbers and dates according to the US convention.

So if you want to keep an English user interface, you have to keep
an English locale; but if you also want to read, input, and print
things in other languages than English, you should make sure that
your locale is a UTF-8 one, so you can handle all kinds of
languages and scripts. Examples: en_US.utf8, en_GB.utf8.

Regards, Jan
http://www.jw-stumpel.nl/stestu.html


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Re: Lenny. Locales and Interface Language

2009-05-18 Thread Mark Goldshtein
On Mon, May 18, 2009 at 6:42 PM, Jan Willem Stumpel jstum...@planet.nl wrote:



Thanks for your time and such in-deep explanation!

-- 

Sincerely Yours'
Mark Goldshtein


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org