Bug 1063562

Summary: Zanata localization zh-TW-Hant should be zh-Hant-TW
Product: [Retired] Zanata Reporter: Ding-Yi Chen <dchen>
Component: ProjectType-CodeAssignee: Patrick Huang <pahuang>
Status: CLOSED UPSTREAM QA Contact: Zanata-QA Mailling List <zanata-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: developmentCC: djansen, zanata-bugs
Target Milestone: ---Keywords: i18n
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-31 01:49:07 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ding-Yi Chen 2014-02-11 03:30:12 UTC
Description of problem:
Part of zanata source code till containes the old locale style filename,
e.g. zanata-war/src/main/resources/messages_zh_TW_Hant.properties

However, the fix from bug 1002378 generates zh_Hant_TW,
(e.g. /zanata-war/target/gwt-extra/webtrans/org/zanata/webtrans/client/resources/UiMessages_zh_Hant_TW.properties)

Given the zanata.xml of zanata-server has
<locale map-from="zh-TW-Hant">zh-Hant-TW</locale>

Only file with zh_TW_Hant will be pushed, and translated.

Version-Release number of selected component (if applicable):
zanata-server-3.3.0-SNAPSHOT 
commit 53f2313c2018addcf6faa6991f18f36689905f4f


How reproducible:
Always.

Steps to Reproduce:
1. mvn process-test-resources -Dgwt-i18n
2. find . -name "*essages_zh*.properties"

Actual results:
Both zh_TW_Hant and zh_Hant_TW shown in filenames.

Expected results:
Only zh_Hant_TW is contained in filename.


Additional info:

Comment 1 Zanata Migrator 2015-07-31 01:49:07 UTC
Migrated; check JIRA for bug status: http://zanata.atlassian.net/browse/ZNTA-557