New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
po2oo says: "don't know what to do with input format .po" #174
Comments
Originally posted by Erdal Ronahi: By the way, I am using version 0.8rc5 now. |
Why do you have a file ooo-writer.po? It doesn’t occur in my PO tree. Could you norrow this down the problem or provide a place where we can download |
Originally posted by Erdal Ronahi: We don’t have a tree, we are the poor team that uses the —multifile=onefile The files are here: The one big po is the one at the bottom: ooo2_kurdish.po (14 MB). It is the The GSI file we use as a template is the one in |
Ok there seem to be a few problems here: Firstly looking at working with toplevel files: \ This works as long as the files are named correctly and you specify If you rename ooo-writer.po to sw.po then the following will work po2oo -l ku —multifile=toplevel -t en-US.sdf ku-toplevel ku.sdf If the files are incorrectly named then you will get this error message: po2oo: warning: Couldn’t handle input file ooo-writer.po: don’t know what to do If you don’t specify the —multifile option you get this error: po2oo: warning: Couldn’t handle input file sw.po: don’t know what to do with |
Next looking at the onefile option: \ onefile input file does not work ** No matter whether you supply the —multifile option or not the files are not [dwayne@laptop-wifi convert]$ po2oo -l ku -t en-US.sdf ku-onefile/ku.po ku.sdf po2oo: warning: Couldn’t handle input file ku.po: don’t know what to do with [dwayne@laptop-wifi convert]$ po2oo —multifile=onefile -l ku -t en-US.sdf po2oo: warning: Couldn’t handle input file ku.po: don’t know what to do with |
My notes on testing: |
OK —nonrecursiveinput is now assumed for —multifile=onefile |
Originally posted by Erdal Ronahi: Rail Aliev from OOo has helped out with a script and a how-to. I have moved that http://www.ferheng.org/wiki/doku.php/wergerandin:rail_aliev There is also an ongoing discussion about the problem on the |
Originally posted by Oscar Manuel Gómez Senovilla: I think I’ve reproduced this with a mozilla properties file using po2prop.py: |
Originally posted by Oscar Manuel Gómez Senovilla: Created [attachment 60](http://bugs.locamotion.org/attachment.cgi?id=60) The properties file (zip) causing the problem |
Oscar, I’m sure your comment 9 and comment 10 here were meant for somewhere else! |
Comment on attachment 60 Marking properties file as obsolete – its for a different bug |
Fixes where added to make sure we choose sane defaults when outputing to and If you find other issues please submit a new bug and do not reopen this one. |
Version: 0.8rc5
Originally posted by Erdal Ronahi:
I tried to use po2oo to make an kurdish sdf-file from .po files. All I get with
commands like
po2oo -i ooo2 -l ku -t en_US.sdf -o ku.sdf
po2oo -l ku -t en_US.sdf —nofuzzy -i ooo2 ku.sdf
po2oo -i ooo2 -l ku -t en_US.sdf -o ku.sdf
are error messages like
po2oo: warning: Couldn’t handle input file ooo-writer.po: don’t know what to do
with input format .po, template format .sdf
for every .po-file in the directory and the subdirectories.
Funny that po2oo shouldn’t know the input format .po, isn’t it there to convert
.po files?
It makes no difference whether the directory ooo2 does either contain small
.po-files (Rosetta style) or one big .po-file (14,1 MB) with all the
translations, the result is always the same.
The text was updated successfully, but these errors were encountered: