====== Locale ======
sudo -s
apt-get install language-pack-en language-pack-hu
dpkg-reconfigure locales
update-locale --reset \
LANG="en_US.UTF-8" \
LC_MESSAGES="POSIX" \
LANGUAGE= \
LC_ALL= \
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_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"
locale-gen
locale
Ez javítja a következő hibát:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
...
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
==== Magyar számok, dátum, pénznem, ... angol nyelvű OS-sel ====
update-locale --reset \
LANG="en_US.UTF-8" \
LC_MESSAGES="POSIX" \
LANGUAGE= \
LC_ALL= \
LC_CTYPE="hu_HU.UTF-8" \
LC_NUMERIC="hu_HU.UTF-8" \
LC_TIME="hu_HU.UTF-8" \
LC_COLLATE="hu_HU.UTF-8" \
LC_MONETARY="hu_HU.UTF-8" \
LC_PAPER="hu_HU.UTF-8" \
LC_NAME="hu_HU.UTF-8" \
LC_ADDRESS="hu_HU.UTF-8" \
LC_TELEPHONE="hu_HU.UTF-8" \
LC_MEASUREMENT="hu_HU.UTF-8" \
LC_IDENTIFICATION="hu_HU.UTF-8"
{{tag>utf8}}\\