Robert Ludvik wrote:

David Fraser wrote:

But given the current situation, I presume it is producing English in the sl-SL lines because your translations haven't been merged.
You could merge the sl-SL sdf into the source using localize -m and then extract it again using localize -e, but this will still give you some English strings.

I'll try this. If I get it right: localize -m -l sl-SI localize -e -l en-US,sl-SI and this results in SDF format like: ... helpcontent2 ... en-US ... String_in english helpcontent2 ... sl-SI ... String_in slovenian ... if it was migrated translation from 1.x .xhp and ... helpcontent2 ... en-US ... String_in english helpcontent2 ... sl-SI ... String_in english ... if it was *not* migrated translation from 1.x .xhp.

Yes thats correct

After oo2po there would be PO file:

msgid "String_in english"
msgstr "String_in slovenian"

msgid "String_in english"
msgstr "String_in english"

First pair of msgid/msgstr is a charm and second is OK - we'll have to check and translate all entries but we should do it anyway.

You could use the pofilter tool that comes with the translate toolkit to do this.
pofilter -t unchanged orig-po/ check-po/
will give you a set of filtered PO files in check-po containing only the unchanged entries.
You can then remove all the msgstr from them manually, and then merge them back.
The merging back is a bit complex at the moment ... something like this should work:
pomerge -t orig-po/ check-po/ merged-po/ --mergeblanks=yes
which will produce a new set of files in merged-po that contains blanks in the place of the unchanged things.
You can use diff to compare the folders to make sure...


Or you could cat the plain English and plain Slovenian (your version) SDF files together and sort the result, which oo2po should then be able to handle. Note that this may confuse the current release, so please let me know how this works. (It should be OK if you specify the languages on the command line).

I'll try this one too.

Great, let me know how they work

David

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to