David Fraser wrote:
The -l option takes two languages, the source and target language.
So try:
oo2po -i myfile-hc2.sdf -o po_dir -l en-US,sl_SL
Note that you don't want -P as these won't be POT files but will have translations...


Hope that helps, let me know if it doesn't work...
David
oo2po -i myfile-hc2.sdf -o po_dir -l en-US,sl-SI
gives errors "language not found: en-US".
Probably because I have only sl-SI in a SDF file.

If I run localize_sl like this:
localize_sl -e -l en-US,sl-SI -f /tmp/myfile
I get two lines (for en-US and sl-SI) but strings are in *both* cases either in english or in slovenian language.
...
helpcontent2 ... en-US ... String_in english
helpcontent2 ... sl-SI ... String_in english
...
helpcontent2 ... en-US ... String_in slovenian
helpcontent2 ... sl-SI ... String_in slovenian
...


grep ^helpcontet2 to myfile-hc2.sdf

and oo2po -i myfile-hc2.sdf -o po_dir -l en-US,sl-SI
puts "String_in slovenian" in msgid and msgstr (which means that oo2po runs OK :-)


How can I get a SDF file in format:
...
helpcontent2 ... en-US ... String_in english
helpcontent2 ... sl-SI ... String_in slovenian
...
Thanks
--
Robert Ludvik

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



Reply via email to