Differences between revisions 22 and 23
Revision 22 as of 2017-08-15 20:02:26
Size: 1952
Editor: PhilipWong
Comment:
Revision 23 as of 2017-08-16 20:55:29
Size: 2126
Editor: PhilipWong
Comment: added a link about changing home folders back to english (should I make a new page for this?)
Deletions are marked like this. Additions are marked like this.
Line 57: Line 57:

[[Oops.. I want to change my Home folders back to English, how do I do that?|https://askubuntu.com/questions/398555/change-the-system-folder-name-back-to-english#398610]]

How to change the language of your Debian system

* First, you have to set EnvironmentVariables such as LANG, LANGUAGE, LC_CTYPE, LC_MESSAGES to your local language. Usually LANG (or LC_ALL) is sufficient.

To do this, first open up the terminal and check what you have at present with the following command:

# env | grep LANG

* Second, you may also need to reconfigure your locales.

To do this, as root:

First: issue on a root terminal #export LANG=(two letter code for your language)_(two letter code for your country).UTF-8

For the Spanish language it would be:

# export LANG=es_ES.UTF-8

How do I know the 2 letter code for my language?

This page on wikipedia is helpful to help you determine this. You can see the fourth column on the table, for example Japanese will be 'ja'.

How do I know the 2 letter code for my country?

This website allows you to search this (remember to select Country Codes at the end). Upon searching Japan,you will get 'JP'.

So if you wanted to export Japanese, it would be ja_JP.UTF-8.

Second: reconfigure locales issuing the following command:

# dpkg-reconfigure locales

A window will ask you to select the languages (you select with SPACE) you want to have available. Choose your own.

Changes may not show immediately, a reboot will be needed.


How to change the language of KDE applications

Show available languages:( DebSearch:kde-l10n )

  apt-cache search kde-l10n 

Change the language:

  apt-get install kde-l10n-thetwoletter (of your country)

as an example (for german 'de'utschland) :

  apt-get install kde-l10n-de 

Now you have your language in all KDE applications!

?https://askubuntu.com/questions/398555/change-the-system-folder-name-back-to-english#398610