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
pgpRgyNVpSsXJ.pgp
Description: PGP signature
_______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice