I have a friend how speaks Spanish, and i want to set up an account on my computer for her in Spanish, while keeping the root account and my user account in English.
Is there a way of setting the language in a per user basis?
I'm using Debian 9 stable.
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Is there a way of setting the language in a per user basis?
Re: Is there a way of setting the language in a per user bas
manny6 wrote:I have a friend how speaks Spanish, and i want to set up an account on my computer for her in Spanish, while keeping the root account and my user account in English.
Is there a way of setting the language in a per user basis?
I'm using Debian 9 stable.
Code: Select all
man locale
....
The following example compiles a custom locale from the ./wrk directory
with the localedef(1) utility under the $HOME/.locale directory, then
tests the result with the date(1) command, and then sets the environ‐
ment variables LOCPATH and LANG in the shell profile file so that the
custom locale will be used in the subsequent user sessions:
$ mkdir -p $HOME/.locale
$ I18NPATH=./wrk/ localedef -f UTF-8 -i fi_SE $HOME/.locale/fi_SE.UTF-8
$ LOCPATH=$HOME/.locale LC_ALL=fi_SE.UTF-8 date
$ echo "export LOCPATH=\$HOME/.locale" >> $HOME/.bashrc
$ echo "export LANG=fi_SE.UTF-8" >> $HOME/.bashrc
.....