how to add new locale

Asked by LI Daobing

Hello,

there is no /etc/locale.gen, also 'dpkg-reconfigure locales' does not work, how to add new locale in ubuntu?

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
LI Daobing
Solved:
Last query:
Last reply:
Revision history for this message
Benoit Malet (benoit-malet) said :
#1

Hello !

You can find information on this page (in french and english) :

http://mcarlucci.free.fr/dotclear/index.php/Gnu-linux

Hope this helps !
Benoît

Revision history for this message
LI Daobing (lidaobing) said :
#2

Hello,

can you forward a copy of this webpage to me? I can't connect to http://mcarlucci.free.fr/dotclear/index.php/Gnu-linux, thanks.

Cheers,
LI Daobing

Revision history for this message
Benoit Malet (benoit-malet) said :
#3

Here it is !

1. check which locales are supported :

less /usr/share/i18n/SUPPORTED

2. add the locales you want (for example fr) :

locale-gen fr_FR.UTF-8
locale-gen fr_FR
locale-gen fr_FR@euro

Thanks to the ubuntu forum and this thread : http://ubuntuforums.org/showthread.php?t=214099&highlight=locales

Revision history for this message
Best LI Daobing (lidaobing) said :
#4

sudo locale-gen en_GB.ISO-8859-15 (or whatever locales you want)