Bug 1254435 - rename eclipse-nls-zh to eclipse-nls-zh_CN
Summary: rename eclipse-nls-zh to eclipse-nls-zh_CN
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: eclipse-nls
Version: 23
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jens Petersen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-18 07:11 UTC by Parag Nemade
Modified: 2016-05-17 08:06 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-05-17 08:06:52 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Parag Nemade 2015-08-18 07:11:25 UTC
Description of problem:
I want to request to have proper naming for zh_CN translation package. Can it be possible to rename eclipse-nls-zh to eclipse-nls-zh_CN?

I have this reasoning for this. Generally, we use locales, load locales and use translations. There is no zh locale available in 
ls /usr/share/i18n/locales/z*

only zh_* locales are there. Please consider to rename package or provide simply virtual provides.


Version-Release number of selected component (if applicable):
eclipse-nls-4.4.0.v20141223043836-1.fc23

How reproducible:
always


Another reason to rename that subpackage is https://fedoraproject.org/wiki/Packaging:NamingGuidelines#Addon_Packages_.28langpacks.29

Thanks.

Comment 1 Sean Flanigan 2015-08-18 08:16:38 UTC
I didn't realise I was still the default assignee for eclipse-nls.

"zh" is found in /usr/share/xml/iso-codes/iso_639_3.xml as a part1_code for "zho", but I don't know if part 1 codes are acceptable according to the packaging guidelines.

I gather the package name change should help with auto-installation of Eclipse lang packs by dnf-langpacks?  

However, please note that only a few eclipse-nls packages include the country code, eg zh_TW and pt_BR, even though /usr/share/i18n/locales/ uses country codes almost exclusively.  

So by that logic we would need to rename or alias nearly all the eclipse-nls packages.  Perhaps we should.  But of course "zh" is ambiguous as to script, which isn't the case with most of the other eclipse-nls packages.

Given that eclipse-nls-zh is a repackaging of BabelLanguagePack-*-zh_*.zip (and potentially used by zh_SG users), I wonder if it might be best to keep it as the canonical name, but I do think adding a virtual provides for eclipse-nls-zh_CN (or even eclipse-nls-zh-Hans) makes sense.

However, I suppose the other way around would work too.  What do you think, Jens?

Comment 2 Parag Nemade 2016-05-17 08:06:52 UTC
Let's keep the current packaging.


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