cdn/sh/locales.sh

14 lines
286 B
Bash
Raw Normal View History

2024-11-02 21:33:03 +01:00
# Uncomment german locale
sed -i 's/^# *\(de_DE.UTF-8\)/\1/' /etc/locale.gen
# Generate locale
locale-gen
# Export env vars
echo "export LC_ALL=de_DE.UTF-8" >> ~/.bashrc
echo "export LANG=de_DE.UTF-8" >> ~/.bashrc
echo "export LANGUAGE=de_DE.UTF-8" >> ~/.bashrc
# Restart shell
bash