, ,

Ubuntu – Add International Language Locales

Adding additional locales can be necessary to read date information in available in certain languages only.

Support for international dates

# check all available locales
locale -a

# check if the german locale is available
cat /usr/share/i18n/SUPPORTED|grep de_DE.UTF-8
# de_DE.UTF-8

# add german locale
sudo locale-gen de_DE
sudo locale-gen de_DE.UTF-8

# update server locale information
sudo update-locale

References

1. Add Language Locale: http://askubuntu.com/questions/76013/how-do-i-add-locale-to-ubuntu-server