When I try to set the culture of the map like this:
当我试图把地图的文化设置成这样:
<WPF:Map Culture="pt-BR" />
All the labels remain in English and the culture doesn't change.
所有的标签都是英文的,文化也没有改变。
My Windows language is English, but I want to force pt-BR in the map.
我的Windows语言是英语,但我想在地图上强制使用pt-BR。
I already changed my application culture setting the main Thread culture, UICulture and putting pt-BR in the csproject file, but the map remains in English.
我已经改变了我的应用程序文化,设置了主要的线程文化,uicculture,并在csproject文件中加入了pt-BR,但是地图仍然是英文的。
I really need to change this because in English the name of São Paulo city is "Sao Paolo".
我真的需要改变这一点,因为在英语中圣保罗城市的名字是“圣保罗”。
How I do that?
我怎么做呢?
1 个解决方案
#1
0
The WPF control was released at a time when Bing Maps only supported a small number of cultures. Doing some testing it appears that only the following cultures are supported by this map control:
当Bing地图只支持少量的文化时,WPF的控制被发布了。做了一些测试,似乎只有以下的文化被这个地图控件所支持:
- fr-FR
- - fr
- fr-CA
- fr - ca
- nl-BE
- nl-BE
- en-US
- en - us
- de-DE
- de-DE
- it-IT
- 葡萄酒
- ja-JP
- ja-JP
- es-ES
- es-ES
- es-MX
- es-MX
- es-US
- es-US
I'll pass this information on to our documentation team so that it's easier to figure this out in the future. I'll also add a feature request for additional language support in future versions of the WPF control.
我将把这些信息传递给我们的文档团队,以便以后更容易地解决这个问题。我还将在WPF控件的未来版本中添加一个特性请求,以获得额外的语言支持。
#1
0
The WPF control was released at a time when Bing Maps only supported a small number of cultures. Doing some testing it appears that only the following cultures are supported by this map control:
当Bing地图只支持少量的文化时,WPF的控制被发布了。做了一些测试,似乎只有以下的文化被这个地图控件所支持:
- fr-FR
- - fr
- fr-CA
- fr - ca
- nl-BE
- nl-BE
- en-US
- en - us
- de-DE
- de-DE
- it-IT
- 葡萄酒
- ja-JP
- ja-JP
- es-ES
- es-ES
- es-MX
- es-MX
- es-US
- es-US
I'll pass this information on to our documentation team so that it's easier to figure this out in the future. I'll also add a feature request for additional language support in future versions of the WPF control.
我将把这些信息传递给我们的文档团队,以便以后更容易地解决这个问题。我还将在WPF控件的未来版本中添加一个特性请求,以获得额外的语言支持。