[Libreoffice] l10n based on PO files

Andras Timar timar74 at gmail.com
Wed Mar 23 11:39:11 PDT 2011

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, 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.

>  + 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?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-set-.gitattributes-filter-for-.po-files.patch
Type: text/x-diff
Size: 1000 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110323/3414e184/attachment.patch>

More information about the LibreOffice mailing list