zendframework / zend-i18n-resources

Translation resources for zend-i18n
BSD 3-Clause "New" or "Revised" License
20 stars 33 forks source link

[ZF3] Update to standard language code #44

Open GeeH opened 8 years ago

GeeH commented 8 years ago

This issue has been moved from the zendframework repository as part of the bug migration program as outlined here - http://framework.zend.com/blog/2016-04-11-issue-closures.html


Original Issue: https://api.github.com/repos/zendframework/zendframework/issues/5463 User: @atans Created On: 2013-11-11T04:30:56Z Updated At: 2014-09-28T00:34:51Z Body The standard: http://www.w3.org/International/articles/language-tags/#region

Language Subtag Lookup

pt_BR: http://people.w3.org/rishida/utils/subtags/index.php?check=pt_BR&submit=Check Result:

`Language subtag pt_br not found.`

pt-BR http://people.w3.org/rishida/utils/subtags/index.php?check=pt-BR&submit=Check Result:

Language Codes
pt Portuguese 
Geographic Regions 
BR Brazil 

or view source code of this url: https://www.google.com/preferences?hl=en#languages

Changes

resources\languages\ pt_BR to resources\languages\ pt-BR resources\languages\ zh to resources\languages\ zh-CN (Simplified Chinese) resources\languages\ zh_TW to resources\languages\ zh-TW (Traditional Chinese)


Comment

User: @samsonasik Created On: 2013-11-11T11:38:38Z Updated At: 2013-11-11T11:38:38Z Body it will BC break. If it should be, it should be for ZF3. I think you should add [ZF3] on beginning of your PR title.


Comment

User: @atans Created On: 2013-11-11T13:02:16Z Updated At: 2013-11-11T13:10:57Z Body @samsonasik En.., Could you tell me how to add [ZF3]?

The language codes of ZendSkeletonApplicationr/module/Application/language have same problem ! Should I fix it again? https://github.com/zendframework/ZendSkeletonApplication/tree/master/module/Application/language


Comment

User: @samsonasik Created On: 2013-11-11T13:24:36Z Updated At: 2013-11-11T13:24:36Z Body what I mean is change the title of this PR from : "Update to standard language code" to "[ZF3] Update to standard language code" , go to Edit button beside PR title :p . changing folder names in ZF2 will affect BC break. If there is a changing folder, it should be for ZF3, not ZF2. IMO, No, the current ZendSkeletonApplication is for ZF2, you should wait until ZF3 released :)


Comment

User: @stijnhau Created On: 2014-04-15T15:01:32Z Updated At: 2014-04-15T15:01:32Z Body Haven't looked at the code but can't it be made so that both do the same. So there wouldn't be a BC break and 1 less possible issue for upgrading in ZF3 comes out.


weierophinney commented 4 years ago

This repository has been closed and moved to laminas/laminas-i18n-resources; a new issue has been opened at https://github.com/laminas/laminas-i18n-resources/issues/1.