it turned out that git misapplied a part of my change at a wrong place during rebase. It's fixed and all the tests should pass now.
ICU-9562 Update language tag mapping per the latest IANA registry
uloc_forLanguageTag has a few mapping tables to map grandfathered language tags and deprecated language subtags to their preferred or modern values.
Update them based on the latest version of the IANA language subtag registry. [1]
Five grandfathered tags without a preferred value are still mapped to what ICU has mapped them to for the backward compatibility until the wisdom of continuing to do so is reviewed.
In addition, map redundant language tags to their preferred values regardless of whether they're followed by other subtags or not. (e.g. zh-yue vs zh-yue-u-co-pinyin) .
Similary, ja-latn-hepburn-heploc is mapped to ja-latn-alaic97 (the variant subtag 'hepburn-helploc' with the prefix 'ja-latn' has the preferred value, 'alaic97') .
Update the mapping for deprecated language subtags (e.g. 'jw' to 'jv' and a bunch of 3-letter language codes).
Add a new table for deprecated region subtags to map them to their modern values. (e.g. 'DD' to 'DE').
Add a new test case for deprecated language and region mapping and a few more cases for updated grandfathered and redundant tag mapping.
[1] https://www.iana.org/assignments/language-subtag-registry/language-subtag-registry
Checklist
- [x] Issue filed at https://unicode-org.atlassian.net : ICU-______
- [x] Update PR title to include Issue number
- [x] Issue accepted
- [x] Tests included
- [ ] Documentation is changed or added
该提问来源于开源项目:unicode-org/icu
- 点赞
- 写回答
- 关注问题
- 收藏
- 复制链接分享
- 邀请回答
18条回答
为你推荐
- 后端服务器Spring boot 启动访问特定接口接口时一直报如下错误:WARN 1952 --- [-nio-443-exec-5] o.s.web.servlet.PageNotFound : No mapping for GET / ?
- doctrine:schema:update不遵守列顺序
- 找不到元素doctrine-mongo-mapping的声明
- 如何将doctrine数组映射到弹性搜索
- Symfony2 - 上传文件(编辑表格)
- Spring Boot启动报错ERROR 3644 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter :
- IntelliJ IDEA Struts2-2.3 启动过滤器异常
- idea :This application has no explicit mapping for /error, so you are seeing this as a fallback.
- ssm开发过程中,tomcat启动失败,target\classes\spring-mvc.xml和spring-mybatis.xml报红
- Servlet配置中改变 <url-pattern> Tomcat报错
- log4j一直报错 No mapping for POST,后台控制层也没拿到任何信息,想请教一下是什么情况?
- Check the result mapping for the 1 property
- 0个回答
- No Dialect mapping for JDBC type: -1
- hibernate
- 0个回答
- servlet,filter中url-mapping
- 0个回答
- elasticsearch 设置mapping时出错
- elasticsearch
- 5个回答
- File Mapping
- windows
- 1个回答
- web.xml文件中</servlet mapping>一行总报错,截图如下
- 2个回答
- <filter-name>和<url-pattern>标签不能用
- intellij-idea
- 1个回答
- JPA 中的ORM Mapping File与XML file的区别
- 1个回答