[Libreoffice] l10n based on PO files
pmladek at suse.cz
Wed Mar 23 12:01:36 PDT 2011
Andras Timar píše v St 23. 03. 2011 v 19:39 +0100:
> Hi Petr, *
> 2011/3/23 Petr Mladek <pmladek at suse.cz>:
> > I am going to look at it. The plan is to get rid of the "l10n" repo and
> > use the new "translations" repo exclusively. My steps will be:
> > + download "translations" instead of "l10n" repo
> > + allow to build internal translate toolkit (libs-extern repo)
> Currently translate-toolkit 1.8.1 is fine
Thanks for tip
> , but I filed a bug
> (http://bugs.locamotion.org/show_bug.cgi?id=1883) because I think it
> is easier to do the language fallback with translate-toolkit, than to
> fix fdo#35067 and fdo#35068.
> The progress there looks promising. When
> it is fixed, we need to upgrade translate-toolkit in our sources, too.
well, we need to support also system traslate-toolkit; The question is
whether to add strict dependency on the new version or make the feature
optional; I think that the strict dependency might be more safe but...
> > + set the new L10N_MODULE in solenv/inc/settings.mk
> > + modify build.lst in "all" module to depend on
> > TRANSLATIONS:translations instead of L10N:l10n
> > + fix potential build probles
> Please find attached a patch which implements a .gitattribute filter
> for *.po files. If we do not wrap the lines in po files, then we get
> less useless noise in diffs (tools tend to wrap the same content
> differently). May I push it?
Go for it. It is great that you have this in mind!
More information about the LibreOffice