Bug 1063562 - Zanata localization zh-TW-Hant should be zh-Hant-TW
Summary: Zanata localization zh-TW-Hant should be zh-Hant-TW
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Zanata
Classification: Retired
Component: ProjectType-Code
Version: development
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Patrick Huang
QA Contact: Zanata-QA Mailling List
URL:
Whiteboard:
Depends On:
Blocks:
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:
Environment:
Last Closed: 2015-07-31 01:49:07 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1002378 0 unspecified CLOSED RFE: Introduce a modular translation structure, and gwt generate the *Messages.properties files 2021-02-22 00:41:40 UTC

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/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


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