SDB:Changing the Language for root

From openSUSE


Situation:

You want to change root's language for error messages and applications.

Procedure:

Create or edit the file /root/.bash_profile with an editor of your choice. If e.g. German is the language you want to use, insert the following line:

export LANG=german

This change will be applied at the next login. If you want to apply changes at once, execute

source .bash_profile

A list of all the available languages is displayed by entering locale -a.