Add Locale to Ubuntu Server
Add Locale to Ubuntu Server is not a complex thing, All you need to know right Language code and the shell command to install in it. You don’t your server support all the languages available in the repo. Just install necessary Languages.
Basically I am from Tamil Nadu, So let me install Tamil on my localhost Ubuntu to translate all my Apache websites. Let’s follow the steps to install and activate Translations.
1.Just run the following command on terminal to install it.
sudo apt-get install language-pack-ta
2. After that it might need to set it to generate locales on server
sudo locale-gen ta_IN
3. After that just restart your Apache and MySQL server to take effect.
sudo service apache2 restart sudo service mysql restart
Note : There are plenty of languages available to install and make it run on your server. So Before installing your Language get the proper language code and than start. Let me install Dutch language for second Example
sudo apt-get install language-pack-nl
sudo locale-gen nl_NL.
Third Step restart both Apache and MySQL Server to take effect.
This same installation procedure helps to translate the whole Ubuntu and the applications you install inside it. So, the Apache web server also translated with help of it. This Same-thing helps to install language, install locale on AWS, Google Cloud, Other VPS and VPN’s.