forked from Docker/baseimage-docker
French locales
This commit is contained in:
@@ -43,7 +43,7 @@ apt-get dist-upgrade -y --no-install-recommends -o Dpkg::Options::="--force-conf
|
|||||||
## Fix locale.
|
## Fix locale.
|
||||||
case $(lsb_release -is) in
|
case $(lsb_release -is) in
|
||||||
Ubuntu)
|
Ubuntu)
|
||||||
$minimal_apt_get_install language-pack-en
|
$minimal_apt_get_install language-pack-en language-pack-fr
|
||||||
;;
|
;;
|
||||||
Debian)
|
Debian)
|
||||||
$minimal_apt_get_install locales locales-all
|
$minimal_apt_get_install locales locales-all
|
||||||
@@ -51,7 +51,7 @@ case $(lsb_release -is) in
|
|||||||
*)
|
*)
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
locale-gen en_US
|
locale-gen fr_FR
|
||||||
update-locale LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8
|
update-locale LANG=fr_FR.UTF-8 LC_CTYPE=fr_FR.UTF-8
|
||||||
echo -n en_US.UTF-8 > /etc/container_environment/LANG
|
echo -n fr_FR.UTF-8 > /etc/container_environment/LANG
|
||||||
echo -n en_US.UTF-8 > /etc/container_environment/LC_CTYPE
|
echo -n fr_FR.UTF-8 > /etc/container_environment/LC_CTYPE
|
||||||
|
|||||||
Reference in New Issue
Block a user