[Libreoffice] l10n based on PO files

Thorsten Behrens thb at documentfoundation.org
Wed Mar 16 08:30:13 PDT 2011

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


-- Thorsten
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110316/77fa2c9e/attachment.pgp>

More information about the LibreOffice mailing list