Coder Social home page Coder Social logo

Comments (18)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 1, 2024
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

from neatx.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 1, 2024
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 [email protected] on 22 Jul 2009 at 7:40

Attachments:

from neatx.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 1, 2024
That answers my question perfectly, thanks. I'll try and reproduce this.

Original comment by kormat on 23 Jul 2009 at 9:02

from neatx.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 1, 2024
Reproduced, problem found, patch out to fix it.

Original comment by kormat on 23 Jul 2009 at 9:24

  • Changed state: Started

from neatx.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 1, 2024
patched (and reinstalled) to rev.24 and still the same problem, do I need to do
something else?

Original comment by [email protected] on 23 Jul 2009 at 1:23

from neatx.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 1, 2024
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

from neatx.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 1, 2024
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 [email protected] on 24 Jul 2009 at 11:31

from neatx.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 1, 2024
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 [email protected] on 27 Jul 2009 at 9:19

from neatx.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 1, 2024
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 [email protected] on 27 Jul 2009 at 1:20

Attachments:

from neatx.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 1, 2024
NeatX should export the vars defined at /etc/environment, /etc/profile and 
probably
others.

Original comment by [email protected] on 28 Jul 2009 at 7:05

from neatx.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 1, 2024
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 [email protected] on 28 Jul 2009 at 9:10

from neatx.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 1, 2024
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

from neatx.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 1, 2024
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 [email protected] on 29 Jul 2009 at 7:52

from neatx.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 1, 2024
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:

from neatx.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 1, 2024
Whooouuuhouuuu!
Working! (my users will bless you)
the output of locale is the same of outside nx :)

Original comment by [email protected] on 31 Jul 2009 at 7:59

from neatx.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 1, 2024
Fixed in http://code.google.com/p/neatx/source/detail?r=42

Original comment by kormat on 12 Feb 2010 at 11:42

  • Changed state: Fixed

from neatx.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 1, 2024
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 [email protected] on 5 May 2011 at 10:44

from neatx.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 1, 2024
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 [email protected] on 16 Feb 2012 at 1:55

Attachments:

from neatx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.