Size: 281
Comment:
|
Size: 782
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 3: | Line 3: |
/etc/environment<<BR>> | $ cat /etc/environment<<BR>> PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" *** May or may not have the following line *** |
Line 6: | Line 8: |
/etc/default/locale<<BR>> | $ cat /etc/default/locale<<BR>> |
Line 9: | Line 11: |
/var/lib/locales/supported.d/local<<BR>> | $ cat /var/lib/locales/supported.d/local<<BR>> |
Line 12: | Line 14: |
dpkg-reconfigure locales<<BR>> source /etc/environment<<BR>> locale |
$ sudo dpkg-reconfigure locales<<BR>> $ source /etc/environment<<BR>> $ 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= |
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=