Caolan McNamara wrote:
On Wed, 2011-03-16 at 08:42 -0600, Tor Lillqvist wrote:Or, just have LibreOffice set a LANGUAGE environment variable to correspond to its current UI language before invoking the libintl functions.There's a hack in the gtk fpicker (source/unx/gnome/SalGtkPicker.cxx) to do the above, we should probably move that into vcl anyway and do it unconditionally on startup.
That was causing all kinds of subtle bugs with the c runtime, therefore many of the locale-dependent functions were re-implemented (e.g. collating, floating point number parsing etc). I'm not sure if we can control the env fully, all the time - Regarding gettext, I have a slight reservation - we'd be strongly depending on correct context, otherwise short strings from different places will all be mixed up. I gather this will be mostly manual work? Cheers, -- Thorsten
Attachment:
pgp1Wk56V8kKQ.pgp
Description: PGP signature