What products support 3-digit region subtags, e.g., es-419 for Latin-American Spanish?

旧巷老猫 提交于 2019-12-11 01:27:17

问题


What products support 3-digit region subtags, e.g., es-419 for Latin-American Spanish?

Are web browsers, translation tools and translators familiar with these numeric codes in addition to the more common "es" or "es-ES"?

I've already visited the following pages:

  • W3C Choosing a Language Tag
  • W3C Language tags in HTML and XML
  • RFC 5646 Tags for Identifying Languages
  • Microsoft National Language Support (NLS) API Reference

回答1:


I doubt that many products like that exist. It seems that some main stream programming languages (I have tested C# and Java) does not support these tags, therefore it would be quite hard to develop programs that does so.

BTW. NLS API Reference that you have provided, does not contain region tag for any of the LCID definition. And if you think of it for the moment, knowing how Locale Identifier is built, there is no way to support it now, actually. Implementation change would be required (they should use some reserved bits, I suppose).

I don't think we will see support for region tags in foreseeable future.


Edit

I saw that Microsoft assigned LCID of value -1 and -2 to "European Union 1" and "European Union 2" respectively. However I don't think it is related.



来源:https://stackoverflow.com/questions/2640583/what-products-support-3-digit-region-subtags-e-g-es-419-for-latin-american-sp

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!