本文介绍了基于ISO-639 / ISO-3166的语言/国家/地区区域名称到Windows的转换表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要转换使用
en_US de_DE 的POSIX区域设置名称ISO- 1和ISO-3166将
代码写入Windows English_United States German_Germany

我在MSDN网站上找到了以下表格:




  • 语言

  • 国家



但是它们是非常局部的。例如,这些表缺少阿拉伯语,希伯来语和许多其他地区,我知道是支持 Hebrew_Israel



查找完整更新的Windows语言环境名称和ISO 639/3166代码的表。



注意:我需要它从Windows 2000或至少XP到Windows 7,不想继承
的事实,Vista和7支持BCP-47样式的区域设置名称。



编辑: 语言代码和国家/地区代码。但我需要知道支持哪些语言/国家/地区,以及如何使用MSVC命名。

解决方案

我找到了答案:



这些文档包括区域设置ID,其名称和ISO代码...


I want to convert POSIX locale names like en_US, de_DE that useISO-639-1 and ISO-3166 codesto Windows ones English_United States, German_Germany and back.

I had found following tables on MSDN site:

However they are very partial. For example these tables miss Arabic, Hebrew and many other locales that I know are supported Hebrew_Israel.

Where can I find fully updated tables of Windows locale names and ISO 639/3166 codes.

Note: I need it to work from Windows 2000 or at least XP to Windows 7, so I don't want to relay onfact that Vista and 7 support BCP-47 style locale names.

Edit: I have an ISO-639 language codes and ISO-3166 country/territory codes. But I need to know what languages/countries are supported and how they are actually named under MSVC should I use.

解决方案

I think I had found the answer: http://msdn.microsoft.com/en-us/library/cc233965.aspx

This documents includes locale ids, their names and ISO codes...

这篇关于基于ISO-639 / ISO-3166的语言/国家/地区区域名称到Windows的转换表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-05 16:09