LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 06-27-2008, 05:22 AM   #1
linuxNewbie2007
LQ Newbie
 
Registered: Jan 2007
Posts: 7

Rep: Reputation: 0
How do I Install locale specific Linux, like I can install French WinXP?


Hi,

Can somebody tell me how I can install a French Linux or Japanese Linux etc.,

I am used to working with Windows for different languages and would like to do the same on a Linux environment.

Thanks.
 
Old 06-27-2008, 05:33 AM   #2
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
During installation most distro give the choice with language to use.
But I do not know if it is possible with all languages , but French should be there , because there are distro with a French origin.Best way down load some Live Cds and try to find out with languages are supported.


all the best
 
Old 06-27-2008, 05:58 AM   #3
linuxNewbie2007
LQ Newbie
 
Registered: Jan 2007
Posts: 7

Original Poster
Rep: Reputation: 0
Thumbs up Thanks!

Hey, I'll give that a go, thanks again!
 
Old 06-27-2008, 06:30 AM   #4
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,628

Rep: Reputation: Disabled
Ubuntu does have French language option and even Red Hat based. Thats for sure.
 
Old 06-27-2008, 06:45 AM   #5
linuxNewbie2007
LQ Newbie
 
Registered: Jan 2007
Posts: 7

Original Poster
Rep: Reputation: 0
back again...

just one quick question, if I'm running my linux machine in French, if I want to change to German is it easy to do so or do I need to reinstall?
 
Old 06-27-2008, 08:02 AM   #6
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
Search this forum this question has been asked before and answerd , speaking out my mind no, you do not have to reinstall


all the best
 
Old 06-27-2008, 10:32 PM   #7
rikijpn
Member
 
Registered: Jun 2007
Location: Japan
Distribution: Debian lenny, DSL, Solaris 10
Posts: 157

Rep: Reputation: 33
locales

It is very easy to change languages in Linux. If you are using GNOME, you could open a terminal, and then change the LANG variable to the language you prefer to use. Then, you just run the program from the terminal and you'll be running that program in the language you just selected. Because of this you can run many programs in different languages at the same time.

The thing is, if you didn't install the "locales" (or, the languages your computer can use to display for program/time/etc.) for other languages, as seems to be the case, you won't be able to do this on regular programs (on programs that use their own language package this doesn't apply. e.g. OpenOffice, firefox, etc). So:

Code:
locale -a
This shows you the languages you can use in your computer.

If you don't have the locales needed, you will have to generate them.

In Debian the file that has all the files that can be generated is in /usr/share/i18n/SUPPORTED , in your computer it probably is the same, or a similar one (check
Code:
man locale
for more information).
So you
Code:
less /usr/share/i18n/SUPPORTED
to see what language you want. You said you want French, right? That would be :
fr_FR.UTF-8 UTF-8
fr_FR ISO-8859-1
fr_FR@euro ISO-8859-15
You might want them all.

Now that we know what locale we want to generate, the next thing we have to do is exactly that, to generate them.

So, again in Debian, the name of the file is /etc/locale.gen (if you don't have this file you might want to see the man page for locale.gen <man locale.gen> and see where it is), you edit fr_FR.UTF-8 UTF-8, etc, all the languages you want to add(You better not forget English though...).
And finally, as root, you do
Code:
locale-gen
which will generate the locales, thus finally enabling you to use your new languages.

As I told you, all you need to do now in order to change the language of a program you are going to use is to open a terminal, change the LANG variable to the locale you'd like to use (for french in this case
Code:
LANG=fr_FR.UTF-8
) and the you just type the name of the program in your terminal.

BTW, in KDE you can do pretty much anything by only clicking around, you might prefer this desktop environment.
 
Old 07-14-2008, 07:05 AM   #8
linuxNewbie2007
LQ Newbie
 
Registered: Jan 2007
Posts: 7

Original Poster
Rep: Reputation: 0
Smile Thank You

Hi, Thanks for such a detailed answer. I'll defo use your advice and reckon from what you say I shouldn't have too many problems. Thanks.
 
Old 07-22-2008, 06:20 AM   #9
linuxNewbie2007
LQ Newbie
 
Registered: Jan 2007
Posts: 7

Original Poster
Rep: Reputation: 0
Hi,

I'm back to you again about locales...

I found the files containing the relevant locales, now I want to open a terminal, but I don't know how to do this....

Do I use something like reflection x or something?

What I want to do is launch Firefox in say French, now I know how to change the locale can you tell me how to launch a terminal a run firefox?

Thanks again for your help.
 
Old 07-22-2008, 03:22 PM   #10
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,038

Rep: Reputation: 373Reputation: 373Reputation: 373Reputation: 373
Quote:
can you tell me how to launch a terminal a run firefox?
If you told us your distro, and window manager (Eg KDE Gnome, whatever) we'd find it easier to help you. A good idea is to put it in your "Profile". See mine, at the left?
For KDE it's K-> System-> Konsole
Then type the name of the application you wish to launch eg firefox-2 or whatever it is called on your distro.
 
Old 08-01-2008, 07:07 PM   #11
rikijpn
Member
 
Registered: Jun 2007
Location: Japan
Distribution: Debian lenny, DSL, Solaris 10
Posts: 157

Rep: Reputation: 33
locales for browser

If all you wanted to do was to use your web browser (firefox) in another language, I guess it depends on your distro's configuration for it (the method I wrote earlier might not apply for it). For firefox for example, you probably would have to look for the necessary locales on your package manager/repositories ( use synaptic ?), and somewhere there is a package called something like "mozilla-firefox-locale-fr-fr" (that's how it is called in my distro). Locales for firefox can't be generated locally, so after installed the locale package needed, you'd just have to run firefox and... well, somewhere in the edit-> preferences menu has to have a select language menu.
 
  


Reply

Tags
locale


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Reinstall WinXp after Linux install hand of fate Linux - Hardware 3 02-26-2007 04:13 PM
How To Install Winxp After Install Linux(fedora 4) ngoclinux General 8 12-02-2005 09:40 PM
telling `make install` to install in a specific directory?!? black hole sun Linux - Software 3 02-08-2005 10:18 PM
HELP!! Tried to install linux (YOPER) with winxp and now winxp is unmountable! buffpandabear Linux - Newbie 2 01-13-2005 07:18 PM
can't get back into linux after winxp install pZyteX Linux - Software 7 09-08-2001 08:10 AM


All times are GMT -5. The time now is 07:22 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration