[Solved] Different locale settings for root and guest

Post here if you are a new Porteus member and you're looking for some help.
Post Reply
tome
Contributor
Contributor
Posts: 562
Joined: 26 Jun 2013, 14:03
Distribution: x64 Openbox
Location: Poland
Contact:

[Solved] Different locale settings for root and guest

Post#1 by tome » 12 Dec 2014, 15:45

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

Post Reply