Created
November 30, 2016 18:34
-
-
Save icaroscherma/5d727945832116a07902cc8d5feeab65 to your computer and use it in GitHub Desktop.
Add more languages to a docker container
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# replace 'pt_BR' for the desired language | |
sed -i -e 's/# pt_BR.UTF-8 UTF-8/pt_BR.UTF-8 UTF-8/' /etc/locale.gen && \ | |
echo 'LANG="pt_BR.UTF-8"'>/etc/default/locale && \ | |
dpkg-reconfigure --frontend=noninteractive locales && \ | |
update-locale LANG=pt_BR.UTF-8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment