Page 1 of 1

[Solved] Different locale settings for root and guest

Posted: 12 Dec 2014, 15:45
by tome
Does anyone know how to set one locale/language for guest and another one for root? :Search:

EDIT:
Solved.
For graphical apps:
Create .profile file in guest or root, then add

Code: Select all

export LANG=pl_PL.utf8
to it or execute

Code: Select all

echo "export LANG=pl_PL.utf8" >> $HOME/.profile
For terminal - shell commands: edit .bashrc, for example import settings from .profile:

Code: Select all

echo "source ~/.profile">>~/.bashrc