Red Hat Bugzilla – Bug 711249
Import should skip over obsolete translations
Last modified: 2011-10-28 03:25:20 EDT
When importing a PO file containing msgids which don't appear in the POT, the server currently rejects the entire file.
error: Unexpected target: 8fae3ebb2c1d08ded523938133b96fcc
The user is supposed to run msgmerge before importing the PO file, which comments out the obsolete messages and thus avoids the error when importing. But if we change the server to skip over these obsolete messages with a warning, the user would not need to run msgmerge.
NB: the same problem will probably occur with XLIFF and .properties, but they don't even come with a tool like msgmerge.
This has been implemented on the server (should be in 1.4). The Java client will output a warning if returned by the server.
James, could you please update the Python client to do the same?
This feature is implemented in python client. please check the latest version 1.3.0 and 1.3.1
VERIFIED with Zanata version 1.4.1-SNAPSHOT (20111003-1737)
Python client 1.3.1
maven client 1.4.1-SNAPSHOT