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 16:20:15 GMT
Hi

2012/3/28 Risto Jääskeläinen <rjaaskel@saunalahti.fi>:

> I try to follow orders on the page but there was no information where I can
> find en-US.sdf -file. I find one using google (12 925 584 bytes) I think I
> succeed to create "old.sdf" file but then I got this:
>
> -----------------
> ristoi@Uusbuntu ~/AOOWDir $ oo2po --source-language=en-US -l fi -i old.sdf
> fi
>
> Traceback (most recent call last):
>  File "/usr/bin/oo2po", line 27, in <module>
>   oo2po.main()
>  File "/usr/lib/python2.7/dist-packages/translate/convert/oo2po.py", line
> 170, in main
>   parser.run(argv)
>  File "/usr/lib/python2.7/dist-packages/translate/convert/convert.py", line
> 136, in run
>   self.recursiveprocess(options)
>  File "/usr/lib/python2.7/dist-packages/translate/convert/convert.py", line
> 359, in recursiveprocess
>   return super(ArchiveConvertOptionParser, self).recursiveprocess(options)
>  File "/usr/lib/python2.7/dist-packages/translate/misc/optrecurse.py", line
> 495, in recursiveprocess
>   inputfiles = self.recurseinputfiles(options)
>  File "/usr/lib/python2.7/dist-packages/translate/convert/convert.py", line
> 250, in recurseinputfiles
>   options.inputarchive = self.openarchive(options.input, 'input')
>  File "/usr/lib/python2.7/dist-packages/translate/convert/convert.py", line
> 245, in openarchive
>   return archiveclass(archivefilename, **archiveoptions)
>  File "/usr/lib/python2.7/dist-packages/translate/storage/oo.py", line 341,
> in __init__
>   self.createsubfileindex()
>  File "/usr/lib/python2.7/dist-packages/translate/storage/oo.py", line 347,
> in createsubfileindex
>   subfile = self.getsubfilename(line)
>  File "/usr/lib/python2.7/dist-packages/translate/storage/oo.py", line 356,
> in getsubfilename
>   raise ValueError("invalid tab-delimited line: %r" % line)
>
> ValueError: invalid tab-delimited line: '#\n'
> -------------
>
> There seem to exist no file in Fi directory.
> I must admit that I use modern OS with GUI (LinuxMint) and those command
> line tools are not for me. But if there is some easy way to continue here I
> will try.

I got the same result with localized .sdf. Try to use

http://people.apache.org/~jsc/sdf/en-US.sdf

from Jürgen Schmidt.

-- 
wbr, sb

Mime
View raw message