Hi *, On Wed, Mar 28, 2012 at 09:36:11PM +0400, Serg Bormant wrote: > Hi > > 2012/3/28 Claudio Filho <[email protected]>: > > 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
May be it's better to use Apache Subversion to checkout that file: svn co https://svn-master.apache.org/repos/asf/incubator/ooo/trunk/extras/l10n/source/fi Then you can update it, as it get updated by AOO devs.: cd fi svn up > > 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' This is because of the header comment in the localize.sdf. Copy the file and remove the first 31 lines of the header: cp fi/localize.sdf fi-old.sdf vim fi-old.sdf (remove the comments at the beginning) cat en-US.sdf fi-old.sdf > fi-merged.sdf Regards -- Ariel Constenla-Haile La Plata, Argentina
pgpsn4X5IO2bV.pgp
Description: PGP signature
