Raspberry Pi: LXDE in german?
Posted: Sat Feb 02, 2013 2:44 pm
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":
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:
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:
(Of course, you will have to change the locale to whatever language you want to have)
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
Now, select the language you also want to be supported. In my case it was:
Code: Select all
de_AT.UTF-8 UTF-8
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"