Bug 711249

Summary: Import should skip over obsolete translations
Product: [Retired] Zanata Reporter: Sean Flanigan <sflaniga>
Component: Component-LogicAssignee: James Ni <jni>
Status: CLOSED CURRENTRELEASE QA Contact: Ding-Yi Chen <dchen>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.3CC: zanata-bugs
Target Milestone: ---Keywords: Improvement
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 1.4 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-28 07:25:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Sean Flanigan 2011-06-07 00:26:57 UTC
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.

Comment 1 Sean Flanigan 2011-06-16 08:03:24 UTC
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?

Comment 2 James Ni 2011-09-29 08:43:08 UTC
This feature is implemented in python client. please check the latest version 1.3.0 and 1.3.1

Comment 3 Ding-Yi Chen 2011-10-04 02:09:42 UTC
VERIFIED with Zanata version 1.4.1-SNAPSHOT (20111003-1737)
Python client 1.3.1
maven client 1.4.1-SNAPSHOT