Add Locale to Ubuntu Server |
X

Congrats, You are Subscribed to Receive Updates.

Add Locale to Ubuntu Server


Introduction

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.

Tamil Installation

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

Dutch

First command

sudo apt-get install language-pack-nl

Second  step sudo locale-gen nl_NL.

Third Step restart both Apache and MySQL Server to take effect.

Arabic

This method is quite simple to install. Check which locales are supported:

locale -a

add the locales you want (for example ar):

sudo locale-gen ar_EG
sudo locale-gen ar_EG.UTF-8

Run this update command

sudo update-locale

Conclusion

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.

commenter

About Varadharaj V

The founder of Kvcodes, Varadharaj V is an ERP Analyst and a Web developer specializing in WordPress(WP), WP Theme development, WP Plugin development, Frontaccounting(FA), Sales, Purchases, Inventory, Ledgers, Payroll & HRM, CRM, FA Core Customization, PHP and Data Analyst. Database Management Advance Level

Comment Below

Your email address will not be published. Required fields are marked *

*

Current ye@r *

Menu

Sidebar