add script to set locale
This commit is contained in:
parent
a61ae87386
commit
6d6619a4c4
13
sh/locales.sh
Normal file
13
sh/locales.sh
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# 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
|
Loading…
x
Reference in New Issue
Block a user