Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1063562 - Zanata localization zh-TW-Hant should be zh-Hant-TW
Summary: Zanata localization zh-TW-Hant should be zh-Hant-TW
Alias: None
Product: Zanata
Classification: Retired
Component: ProjectType-Code
Version: development
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
: ---
Assignee: Patrick Huang
QA Contact: Zanata-QA Mailling List
Depends On:
TreeView+ depends on / blocked
Reported: 2014-02-11 03:30 UTC by Ding-Yi Chen
Modified: 2015-07-31 01:49 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2015-07-31 01:49:07 UTC

Attachments (Terms of Use)

System ID Priority Status Summary Last Updated
Red Hat Bugzilla 1002378 None None None Never

Internal Links: 1002378

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/

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

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):
commit 53f2313c2018addcf6faa6991f18f36689905f4f

How reproducible:

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:

Note You need to log in before you can comment on or make changes to this bug.