Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


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


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.