test
This commit is contained in:
parent
be4ec35556
commit
917cffcf5c
@ -20,10 +20,13 @@ else
|
|||||||
sudo locale-gen
|
sudo locale-gen
|
||||||
sudo update-locale "LANG=$desired_locale"
|
sudo update-locale "LANG=$desired_locale"
|
||||||
|
|
||||||
ENV LANG "$desired_locale"
|
if is_command ENV
|
||||||
ENV LANGUAGE "$desired_locale"
|
then
|
||||||
ENV LC_ALL "$desired_locale"
|
ENV LANG "$desired_locale"
|
||||||
. /etc/default/locale
|
ENV LANGUAGE "$desired_locale"
|
||||||
|
ENV LC_ALL "$desired_locale"
|
||||||
|
. /etc/default/locale
|
||||||
|
fi
|
||||||
|
|
||||||
fi
|
fi
|
||||||
current_lang=$(locale | grep LANG= | cut -d= -f2)
|
current_lang=$(locale | grep LANG= | cut -d= -f2)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user