User Tools

Site Tools


linux:debian:locales

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
linux:debian:locales [2019/08/15 20:00] – external edit 127.0.0.1linux:debian:locales [2022/01/15 11:38] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== Locale ====== ====== Locale ======
 +----
 +==== Change Timezone ====
 +    #dpkg-reconfigure tzdata
 ==== Installed locales ==== ==== Installed locales ====
 We want to have Dutch locales installed. First check which locales are already installed. The expected output looks similar like below: We want to have Dutch locales installed. First check which locales are already installed. The expected output looks similar like below:
 <code> <code>
 # locale -a # locale -a
 +-------------
 C C
 C.UTF-8 C.UTF-8
Line 31: Line 34:
 <code> <code>
 # locale -a # locale -a
 +-------------
 C C
 C.UTF-8 C.UTF-8
Line 44: Line 47:
 </code> </code>
 ==== Changing locale manually ==== ==== Changing locale manually ====
-The locale file /etc/default/locale can be edited manually. If this file does not exist, then no locale is currently set for your system. You can create one manually and enable a locale for your system. The output below shows how the file should look like:+The locale file **/etc/default/locale** can be edited manually. If this file does not exist, then no locale is currently set for your system. You can create one manually and enable a locale for your system. The output below shows how the file should look like:
 <code> <code>
 # nano /etc/default/locale # nano /etc/default/locale
 +--------------------------
  
 #  File generated by update-locale #  File generated by update-locale
 LANG=en_US.UTF-8 LANG=en_US.UTF-8
-LANGUAGE=en_US.UTF-8+LANGUAGE="en_US:en"
 LC_TIME="nl_NL.UTF-8" LC_TIME="nl_NL.UTF-8"
 LC_NUMERIC="nl_NL.UTF-8" LC_NUMERIC="nl_NL.UTF-8"
linux/debian/locales.1565899250.txt.gz · Last modified: (external edit)