Differences between revisions 2 and 10 (spanning 8 versions)
Revision 2 as of 2008-08-01 19:28:54
Size: 275
Editor: CarlNobile
Comment:
Revision 10 as of 2013-12-07 02:43:04
Size: 938
Editor: CarlNobile
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
/etc/environment<<BR>> {{{
$ cat /etc/environment
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
}}}
*** May or may not have the following line ***
{{{
Line 5: Line 10:
}}}
Line 6: Line 12:
/etc/default/locale<<BR>> {{{
$ cat
/etc/default/locale
Line 8: Line 15:
}}}
Line 9: Line 17:
/var/lib/locales/supported.d/local<<BR>> {{{
$ cat
/var/lib/locales/supported.d/local
Line 11: Line 20:
}}}
Line 12: Line 22:
dpkg-reconfigure locales<<BR>>
source /etc/environment
locale
{{{
$ sudo dpkg-reconfigure locales
$ source /etc/environment
$ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=
}}}

If you have issues try running:

{{{
$ sudo locale-gen en_US.UTF-8
}}}

Then run:

{{{
$ sudo dpkg-reconfigure locales
}}}

Setting the language on Debian derived Linux

$ cat /etc/environment
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"

*** May or may not have the following line ***

LANG="en_US.UTF-8"

$ cat /etc/default/locale
LANG="en_US.UTF-8"

$ cat /var/lib/locales/supported.d/local
en_US.UTF-8 UTF-8

$ sudo dpkg-reconfigure locales
$ source /etc/environment
$ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

If you have issues try running:

$ sudo locale-gen en_US.UTF-8

Then run:

$ sudo dpkg-reconfigure locales

Setting the language on Debian derived Linux (last edited 2013-12-07 02:43:04 by CarlNobile)