Closed GoogleCodeExporter closed 9 years ago
To test this, do i just need to set the remote language to french? Or does the
local
language need to be french also?
Original comment by kormat
on 22 Jul 2009 at 6:56
I'm not sure to correctly understand your question,
on the server French is set for "my menu and windows" and "for everyone at
startup" (see file attached)
Did you mean I can set the language for remote connection somewhere else?
Original comment by afeni...@gmail.com
on 22 Jul 2009 at 7:40
Attachments:
That answers my question perfectly, thanks. I'll try and reproduce this.
Original comment by kormat
on 23 Jul 2009 at 9:02
Reproduced, problem found, patch out to fix it.
Original comment by kormat
on 23 Jul 2009 at 9:24
patched (and reinstalled) to rev.24 and still the same problem, do I need to do
something else?
Original comment by afeni...@gmail.com
on 23 Jul 2009 at 1:23
Oh. Hum. Can you tell me the output of 'locale' in a terminal on the server
please? Preferably both inside and outside of NX. Thanks,
Steve
Original comment by kormat
on 23 Jul 2009 at 5:40
Ok, I also tried with the rev27
this is inside NX
$ locale
LANG=fr_FR.UTF-8
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=C
this is outside of NX
$ locale
LANG=fr_FR.UTF-8
LC_CTYPE="fr_FR.UTF-8"
LC_NUMERIC="fr_FR.UTF-8"
LC_TIME="fr_FR.UTF-8"
LC_COLLATE="fr_FR.UTF-8"
LC_MONETARY="fr_FR.UTF-8"
LC_MESSAGES="fr_FR.UTF-8"
LC_PAPER="fr_FR.UTF-8"
LC_NAME="fr_FR.UTF-8"
LC_ADDRESS="fr_FR.UTF-8"
LC_TELEPHONE="fr_FR.UTF-8"
LC_MEASUREMENT="fr_FR.UTF-8"
LC_IDENTIFICATION="fr_FR.UTF-8"
LC_ALL=
cheers!
Original comment by afeni...@gmail.com
on 24 Jul 2009 at 11:31
if this can help, here is my
/usr/local/var/lib/neatx/sessions/BE117A9CCE4C0735A481FB2634F41589/C-nx6-522-BE1
17A9CCE4C0735A481FB2634F41589/clients
:
Couldn't open RGB_DB '/usr/X11R6/lib/X11/rgb'
error opening security policy file /usr/X11R6/lib/X11/xserver/SecurityPolicy
expected keysym, got dead_currency: line 501 of fr
expected keysym, got dead_belowcomma: line 509 of fr
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
> Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
Original comment by afeni...@gmail.com
on 27 Jul 2009 at 9:19
I'm back on this issue :)
Something I forgot to say is:
-If my first connection was outside NX, folders in the home are created in
french
language (like Bureau, Image..)
-But next connections inside NX, ask me to create new home folders in english
(see
file attached)
Original comment by afeni...@gmail.com
on 27 Jul 2009 at 1:20
Attachments:
NeatX should export the vars defined at /etc/environment, /etc/profile and
probably
others.
Original comment by marcelos...@gmail.com
on 28 Jul 2009 at 7:05
I think it does : no matter with my http_proxy and others vars.
I found a LANGUAGE in neatx/configure set to "C" and try to changed it, but
nothing changed! (Grrrr :)
Original comment by afeni...@gmail.com
on 28 Jul 2009 at 9:10
So, the problem is that lib/auth.py sets LC_ALL=C, so that the password prompt
from
su/ssh is predictable. Unfortunately, this means that the /system lang
preference/ is
being overwritten. As for your desktop lang preference, that is stored in
~/.dmrc. In
order to honour that setting, we need to parse that config file before we start
the
session (gnome/xfce/whatever). I'm currently trying to figure out the simplest
and
most robust way of doing that, and checking to make sure we cover all the
possibilities.
Original comment by kormat
on 29 Jul 2009 at 5:46
I noticed the "LC_ALL=C" in some of your files and try to change it by
FR_fr.UTF-8 but that was wrong... I also
tried to set LANGUAGE=Fr_fr:fr in my /etc/env but nothing better...
I event though a .dmrc with
[Desktop]
Session=gnome
Language=fr_FR.UTF-8
would be nice... nothing working, I'm gonna be crazy 8)
Hopefully you seem to know how to make it working :)
Original comment by afeni...@gmail.com
on 29 Jul 2009 at 7:52
Ok, i'm attaching a patch which i think should fix this. It'll need a bit of
tidying
up before it can go into the source tree, but if you can test it out, that
would be
great. Thanks,
Steve
Original comment by kormat
on 30 Jul 2009 at 8:09
Attachments:
Whooouuuhouuuu!
Working! (my users will bless you)
the output of locale is the same of outside nx :)
Original comment by afeni...@gmail.com
on 31 Jul 2009 at 7:59
Fixed in http://code.google.com/p/neatx/source/detail?r=42
Original comment by kormat
on 12 Feb 2010 at 11:42
I install latest checkout and reproduce this problem with Russian language in
Fedora 14.
Inside NX:
$ locale
LANG=C
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=
Outside NX:
$ locale
LANG=ru_RU.utf8
LC_CTYPE="ru_RU.utf8"
LC_NUMERIC="ru_RU.utf8"
LC_TIME="ru_RU.utf8"
LC_COLLATE="ru_RU.utf8"
LC_MONETARY="ru_RU.utf8"
LC_MESSAGES="ru_RU.utf8"
LC_PAPER="ru_RU.utf8"
LC_NAME="ru_RU.utf8"
LC_ADDRESS="ru_RU.utf8"
LC_TELEPHONE="ru_RU.utf8"
LC_MEASUREMENT="ru_RU.utf8"
LC_IDENTIFICATION="ru_RU.utf8"
LC_ALL=
How fix it? Change language settings in NX session on "Russian - Russian"
without effect :(
Original comment by amise...@gmail.com
on 5 May 2011 at 10:44
This fix assumes that locale settings are provided in ~/.dmrc. However, (at
least) on Fedora/RHEL based installations defaults are configured in
/etc/sysconfig/i18n and in order to take those, LANG or LC_* variables should
not be set at all. I propose to include the attached patch.
Original comment by anze.za...@gmail.com
on 16 Feb 2012 at 1:55
Attachments:
Original issue reported on code.google.com by
afeni...@gmail.com
on 22 Jul 2009 at 3:48