Georg Baum wrote:
Am Sonntag, 14. Januar 2007 19:26 schrieb Enrico Forestieri:
This means that when none of the LC_* or LANG variables are set, we are
allowed to do how we please. So, the proposal by Abdel could be
implemented
but only used in this case. As Windows does not set any of the above
variables, this will be the default behaviour. Everybody happy?
Almost: What happens if a user starts LyX with a set environment variable
(probably from some global system profile), and then changes the
preference setting and observes that this has no effect? THis should not
happen, but I don't know what the best solution is.
Well, if the user (or the company's pc guy) know how to set
environment variables, then they know how to fix this case.
Of course a dialog for changing the LyX language could come
with a warning that any LANG or LC_* environment
will override the setting.
Ideally, a dialog for changing language could change the
lyx.bat directly. That way, no need to change the LANG logic
in LyX. I guess this won't happen though.
Helge Hafting