incubator-ooo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Serg Bormant <borm...@gmail.com>
Subject Re: [TRANSLATION]: Steps for update or new translation
Date Wed, 28 Mar 2012 17:36:11 GMT
Hi

2012/3/28 Claudio Filho <filhocf@gmail.com>:
> Sorry, Risto. For this step, you need to do:
>
> $ wget http://people.apache.org/~jsc/sdf/en-US.sdf
> $ http://svn.apache.org/viewvc/incubator/ooo/trunk/extras/l10n/source/fi/localize.sdf?revision=1229431&view=co
> -o fi.SDF

$ wget http://people.apache.org/~jsc/sdf/en-US.sdf
$ wget http://svn.apache.org/viewvc/incubator/ooo/trunk/extras/l10n/source/fi/localize.sdf?revision=1229431&view=co
-O fi.SDF

Lost wget in second line and -O (upper case o) instead of -o

> Then you will have the "template" (en_US) more the old translation
> (fi) in the same directory, so you can merge in an unique file.
>
> $ cat en-US.sdf fi.sdf > fi.old.sdf
>
> After, convert in PO files.
>
> $ oo2po --source-language=en-US -l fi -i fi.old.sdf fi

... and now you get backtrace with

ValueError: invalid tab-delimited line: '#\n'

If you don't use content of localized .sdf oo2po does the task.
It is the time to migrate old translate to empty PO set now.

-- 
wbr, sb

Mime
View raw message