LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 04-10-2007, 07:40 AM   #1
el amigo*
Member
 
Registered: Dec 2006
Location: República Dominicana
Distribution: CentOS, Scientific Linux
Posts: 122

Rep: Reputation: 15
-How to add other languages in Etch/Gnome ?


Hi all,

I successfully installed Debian Etch 4.0r0 on 2 PC's yesterday. I performed that install with the first CD (i386), in french, so when I boot, the GDM option for languages offers me french & english. I also need spanish (my family is multi-lingual).

In Fedora & Ubuntu, it was very easy, but in Debian, I don't find the "add other language" option...

-Does any of you have an idea to help me out ?

Thank you very much in advance !
 
Old 04-10-2007, 11:27 AM   #2
cgjones
Member
 
Registered: Nov 2005
Location: Central New York
Distribution: Ubuntu
Posts: 405

Rep: Reputation: 31
It looks like Ubuntu uses a program called language-selector, which doesn't appear to be available in Debian.

I think you can add a language in Debian by editing /etc/locale.gen and then running locale-gen. I've never done this before, but I'm pretty sure this should work. You probably should read the man pages for locale.gen and locale-gen before you try it.
 
Old 04-10-2007, 12:33 PM   #3
yanik
Member
 
Registered: Oct 2003
Location: Montreal Beach
Distribution: Debian Unstable
Posts: 368

Rep: Reputation: 30
as root, try dpkg-reconfigure locales, choose your locales and they will then appear in GDM
 
Old 04-10-2007, 01:55 PM   #4
cgjones
Member
 
Registered: Nov 2005
Location: Central New York
Distribution: Ubuntu
Posts: 405

Rep: Reputation: 31
Quote:
Originally Posted by yanik
as root, try dpkg-reconfigure locales, choose your locales and they will then appear in GDM
Oh man, I can't believe I didn't think of that.
 
Old 04-10-2007, 03:47 PM   #5
el amigo*
Member
 
Registered: Dec 2006
Location: República Dominicana
Distribution: CentOS, Scientific Linux
Posts: 122

Original Poster
Rep: Reputation: 15
Thank you both for your input.

I did (as root), dpkg-reconfigure locales, chose my locales and they indeed appeared in GDM.

Now my problem is whenever I try to boot in spanish, I get an error message saying this language doesn't exist, and it boots me into the default language...

I am missing something for sure...
 
Old 04-10-2007, 03:52 PM   #6
cgjones
Member
 
Registered: Nov 2005
Location: Central New York
Distribution: Ubuntu
Posts: 405

Rep: Reputation: 31
You could try the following command to see if the locale you picked is valid.
Code:
validlocale locale
 
Old 04-12-2007, 09:32 AM   #7
el amigo*
Member
 
Registered: Dec 2006
Location: República Dominicana
Distribution: CentOS, Scientific Linux
Posts: 122

Original Poster
Rep: Reputation: 15
This is what I get :

PHP Code:
spc2:/home/martin# validlocale locale
locale 'locale' not available
locale ISO
-8859-
 
Old 04-12-2007, 09:36 AM   #8
Dutch Master
Senior Member
 
Registered: Dec 2005
Posts: 1,686

Rep: Reputation: 124Reputation: 124
Replace locale with es, so the command would be:
Code:
validlocale es
 
Old 04-12-2007, 02:22 PM   #9
el amigo*
Member
 
Registered: Dec 2006
Location: República Dominicana
Distribution: CentOS, Scientific Linux
Posts: 122

Original Poster
Rep: Reputation: 15
it gives me:
PHP Code:
spc2:/home/martin# validlocale es
locale 'es' not available
es ISO
-8859-
 
Old 04-12-2007, 02:43 PM   #10
cgjones
Member
 
Registered: Nov 2005
Location: Central New York
Distribution: Ubuntu
Posts: 405

Rep: Reputation: 31
When you ran dpkg-reconfigure locales, what locale(s) did you choose?
 
Old 04-13-2007, 07:08 AM   #11
el amigo*
Member
 
Registered: Dec 2006
Location: República Dominicana
Distribution: CentOS, Scientific Linux
Posts: 122

Original Poster
Rep: Reputation: 15
here it is :

PHP Code:
spc2:/home/martin# dpkg-reconfigure locales
Generating locales (this might take a while)...
  
fr_FR.UTF-8... done
  en_US
.ISO-8859-1... done
  en_US
.ISO-8859-15... done
  en_US
.UTF-8... done
  es_AR
.ISO-8859-1... done
  es_AR
.UTF-8... done
  es_DO
.ISO-8859-1... done
  es_DO
.UTF-8... done
  es_MX
.ISO-8859-1... done
  es_MX
.UTF-8... done
  fr_FR
.ISO-8859-1... done
  es_BO
.ISO-8859-1... done
  es_BO
.UTF-8... done
  es_CL
.ISO-8859-1... done
  es_CL
.UTF-8... done
  es_CO
.ISO-8859-1... done
  es_CO
.UTF-8... done
  es_CR
.ISO-8859-1... done
  es_CR
.UTF-8... done
  es_EC
.ISO-8859-1... done
  es_EC
.UTF-8... done
  es_ES
.ISO-8859-1... done
  es_ES
.UTF-8... done
  es_ES
.ISO-8859-15@euro... done
  es_GT
.ISO-8859-1... done
  es_GT
.UTF-8... done
  es_HN
.ISO-8859-1... done
  es_HN
.UTF-8... done
  es_NI
.ISO-8859-1... done
  es_NI
.UTF-8... done
  es_PA
.ISO-8859-1... done
  es_PA
.UTF-8... done
  es_PE
.ISO-8859-1... done
  es_PE
.UTF-8... done
  es_PR
.ISO-8859-1... done
  es_PR
.UTF-8... done
  es_PY
.ISO-8859-1... done
  es_PY
.UTF-8... done
  es_SV
.ISO-8859-1... done
  es_SV
.UTF-8... done
  es_US
.ISO-8859-1... done
  es_US
.UTF-8... done
  es_UY
.ISO-8859-1... done
  es_UY
.UTF-8... done
  es_VE
.ISO-8859-1... done
  es_VE
.UTF-8... done
Generation complete
.
spc2:/home/martin# validlocale es
locale 'es' not available
es ISO
-8859-
 
Old 04-13-2007, 01:42 PM   #12
cgjones
Member
 
Registered: Nov 2005
Location: Central New York
Distribution: Ubuntu
Posts: 405

Rep: Reputation: 31
When you run dpkg-reconfigure locales, you should get a list of locales to choose from. Are you getting a list, or is the output you posted all you are getting.
 
Old 04-13-2007, 02:15 PM   #13
el amigo*
Member
 
Registered: Dec 2006
Location: República Dominicana
Distribution: CentOS, Scientific Linux
Posts: 122

Original Poster
Rep: Reputation: 15
Thank you to keep assisting me.

Indeed,when I run dpkg-reconfigure locales, I get a long list.

What I did was selecting all spanish ones (the ones starting with es).

It is rather strange...

The output on my last post is the result of the selection, followed by what I get issuing validlocale es...

Last edited by el amigo*; 04-13-2007 at 02:17 PM.
 
Old 04-13-2007, 02:27 PM   #14
cgjones
Member
 
Registered: Nov 2005
Location: Central New York
Distribution: Ubuntu
Posts: 405

Rep: Reputation: 31
Try the following command and post the results.
Code:
validlocale es_ES.UTF-8
 
Old 04-13-2007, 04:59 PM   #15
el amigo*
Member
 
Registered: Dec 2006
Location: República Dominicana
Distribution: CentOS, Scientific Linux
Posts: 122

Original Poster
Rep: Reputation: 15
seems good :

PHP Code:
spc2:/home/martin# validlocale es_ES.UTF-8
locale 'es_ES.UTF-8' valid and available 
 
  


Reply



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
some languages for Gnome dissapeard after reboot Roxxor2 Linux - Software 0 04-15-2006 10:08 AM
how to add other languages to x running freerock gnome? darkhatter Slackware 3 02-13-2006 06:41 PM
How to add other languages in RH9 Bky Linux - Software 2 09-13-2005 09:40 AM
languages of linux: which languages can be choosen in suse and red-hat distributions? Klaus Schnorr Linux - Software 3 09-10-2005 02:19 AM
additional languages for gnome 2.4 jogurt666 Debian 1 02-10-2004 08:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:40 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
Open Source Consulting | Domain Registration