A locale is a set of language and cultural rules, which define preferences that you want to see in your interface and applications. It covers aspects such as language for messages, different character sets, lexicographic conventions, and so on. Below, we’ll overview how to view and change the locale settings on your containers.
locale -a
sudo localedef -i {language}{country} -f {codeset} {language}{country}.{codeset}
here:
Tip: Check the list of the locales available for generation by executing the ls /usr/share/i18n/locales command.
locale -a
As you can see, the new language was added and can be used by your applications.