On 07/15/2012 04:43 PM, Jean-Marc Lasgouttes wrote:
Le 15/07/12 22:30, Jean-Marc Lasgouttes a écrit :
commit 16fd47ad8f5d78a3b7266520b0868c1e2bd0dcac
Author: Jean-Marc Lasgouttes <lasgout...@lyx.org>
Date:   Sun Jul 15 22:22:10 2012 +0200

     Fix bug #7741: incorrect locale when starting R from LyX?

     The goal here is to get rid of the old code that modified variables
     LANGUAGE and LC_ALL, therefore creating the problems mentionned
     in the ticket.

     In the new system, there is no explicit "GUI" message handler, that
     needs to be reset at each language change. Instead, getGuiMessages
calls getMessages with the correct parameter. This allows to simplify
     greatly the code and to remove a lot of old cruft.

This is basically a rewrite of the code that sets GUI language via lyxrc. The code is now much simpler in my opinion, which mitigates the risk.

I would appreciate feedback on how this work on linux, mac os and windows.

Since bug #7741 is very annoying for all external programs which do not like having weird locale settings, I think this should eventually go to branch.

When you feel it's ready.

rh

Reply via email to