installing language pack from command line

To install language from terminal you have to first know the code for the language (for example bn is code for Bengali and hi is the code for Hindi).

Now first install the basic language packages for your desktop using the following code:

sudo apt-get install language-pack-[cod] language-pack-gnome-[cod] language-pack-[cod]-base language-pack-gnome-[cod]-base

It is not still done, because every other software may have its won language pack. To know which more package you have to install more you can use the following command

check-language-support -l [cod]
And then install those packages also.



Example:

Suppose you want to install language pack for Bengali, so first run the command

sudo apt-get install language-pack-bn language-pack-gnome-bn language-pack-bn-base language-pack-gnome-bn-base
Then run

check-language-support -l bn
And then from list install language packs for all applications.





Source:

http://askubuntu.com/questions/149876/how-can-i-install-one-language-by-command-line

Comments

Popular posts from this blog

Changing caption width in latex

Subtitle in latex

Send in Email in Background in Thunderbird