Raspberry Pi: LXDE in german?

Step-by-Step descriptions of how to do things.
Post Reply
User avatar
^rooker
Site Admin
Posts: 1481
Joined: Fri Aug 29, 2003 8:39 pm

Raspberry Pi: LXDE in german?

Post by ^rooker »

I setup a Raspberry Pi (Raspbian Wheezy), but had to have the graphical desktop and all applications in German (because the installation wasn't for me).

I couldn't find any method to switch the language per-user from within the desktop environment in LXDE, but setting the user's locale to German.

This can easily be done using the "raspi-config" tool and then choose "change_locale".
In fact, this is just calling the Debian package system to reconfigure "locales":

Code: Select all

dpkg-reconfigure locales
You are then asked to select which locales your system will support. Default is "en_GB.UTF-8 UTF-8", so it's already selected.

Now, select the language you also want to be supported. In my case it was:

Code: Select all

de_AT.UTF-8 UTF-8
Then press "Ok" and select it as the default language.

The next time you enter the X11 environment with LXDE, everything will be in German.

TIP:
In order to have different language settings for different users.
Therefore, if you add the following line to your "~/.bashrc", you can set the language per-user:

Code: Select all

export LANG="en_GB.UTF-8"
(Of course, you will have to change the locale to whatever language you want to have)
Jumping out of an airplane is not a basic instinct. Neither is breathing underwater. But put the two together and you're traveling through space!
Post Reply