Page 1 of 1

[SOLVED] locales issue

Posted: 13 Apr 2014, 18:37
by Obosan
Hi all!

I am so happy that I can use this operating system on my computer.
Thanks for the developers and contributors.

When I post a topic, I need to explain my problem in English.
My native language (mother tongue) is Japanese.
Therefore I would like to keep Porteus menu in English.
The forums members have been helping me a lot!
For example, Session and Loading does sense?
I can translate it as Session and Booting, too.
So English on Application Menu would be good to specify what I would like to know.

I put following xzm files into /base in order to get Japanense fonts and Input method.
IPAfont-00303-noarch-1_Ahau.xzm
locales-ja_JP.utf8-i486-1prt.xzm
sazanami-fonts-ttf-20040629-noarch-1.xzm
scim-1.4.14+extras-i486-1Ahau.xzm
I put these in /base, because I wanted Japanese environment in Always Fresh mode, too.

Again, keeping foreign language for input and output, how can I keep Porteus menu in English as default.
Time and location don't bother me. Keyboard setting would be another issue.

Your kind attention would be highly appreciated.

Re: lacales issue

Posted: 13 Apr 2014, 20:01
by fanthom
how can I keep Porteus menu in English as default.
please edit /etc/profile.d/lang.sh and change to:

Code: Select all

export LANG=en_US.UTF-8
then reboot.

Re: lacales issue

Posted: 13 Apr 2014, 21:03
by Obosan
@francois! Thanks for your prompt reply.

Mine was as follows:

Code: Select all

#!/bin/bash
# File generated by Porteus Language-Selection tool

#export LC_ALL=ja_JP.utf8
export LANG=ja_JP.utf8
export LC_COLLATE=C
I changed as you suggested.

Code: Select all

#!/bin/bash
# File generated by Porteus Language-Selection tool

#export LC_ALL=ja_JP.utf8
export LANG=en_US.UTF-8
export LC_COLLATE=C
To achieve this, I used
Application Menu > System > Super User Mode - Thunar >
root password : toor >
/etc/profile.d/lang.sh >> right clicked >> application Geany
Is this procedure correct?

Re: lacales issue

Posted: 13 Apr 2014, 21:15
by Obosan
As soon as I reboot, the Application Menu is much much cleaner than Japanese environment.
Thanks for your great instruction! Menu is in English and IM and fonts are Japanese.
Superb! :Yahoo!:

Re: lacales issue

Posted: 14 Apr 2014, 12:33
by wread
@Obosan
Well done, Obosan!
Don't forget to edit your post adding [SOLVED] to your title.. :D

Rgards!