fachinformatiker-wiki

it's easy when it's here

User Tools

Site Tools


linux:debian:locale

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
linux:debian:locale [2024/06/19 15:14] gsyslinux:debian:locale [2026/03/08 14:25] (current) – [generate locales] gsys
Line 3: Line 3:
 check check
 <code> <code>
 +locale
 cat /etc/default/locale cat /etc/default/locale
 +cat /etc/locale.gen
 +cat /etc/locale.conf
 +echo $LANG
 </code> </code>
  
Line 10: Line 14:
 dpkg-reconfigure locales dpkg-reconfigure locales
 </code> </code>
 +
 +
 +===== generate locales =====
 +
 +<code>
 +sudo nano /etc/locale.gen              # check if "en_US.UTF-8 UTF-8" is uncommmented
 +</code>
 +
 +<code>
 +sudo locale-gen                        # generate locales
 +</code>
 +
 +<code>
 +sudo update-locale LANG=en_US.UTF-8
 +cat /etc/default/locale
 +</code>
 +
 +
 +===== locale POSIX =====
 +
 +<code>
 +└─[$] locale
 +LANG=
 +LANGUAGE=
 +LC_CTYPE="POSIX"
 +LC_NUMERIC="POSIX"
 +LC_TIME="POSIX"
 +LC_COLLATE="POSIX"
 +LC_MONETARY="POSIX"
 +LC_MESSAGES="POSIX"
 +LC_PAPER="POSIX"
 +LC_NAME="POSIX"
 +LC_ADDRESS="POSIX"
 +LC_TELEPHONE="POSIX"
 +LC_MEASUREMENT="POSIX"
 +LC_IDENTIFICATION="POSIX"
 +LC_ALL=
 +</code>
 +
 +Fix
 +
 +<code>
 +sudo nano /etc/ssh/sshd_config
 +UsePAM yes
 +</code>
 +
 +
linux/debian/locale.1718802877.txt.gz · Last modified: by gsys