翻译字符串(CultureInfo) [英] Translate string ( CultureInfo)

查看:64
本文介绍了翻译字符串(CultureInfo)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

在用户语言设置的情况下,我想翻译单词(医院").
例如,如果我为波兰语和pl-PL设置了语言和地区,并且我想将医院翻译成波兰语名称,即"szpital".
你知道我怎么做吗?

抱歉我的英语.

I want to translate word ("hospital") in case of user language settings.
For example, if I have language and region set for Polish and pl-PL and I would like to translate hospital to polish name, which is "szpital".
Do you know, how can I make this ?

Sorry about my English.

推荐答案

在此说明了如何本地化应用程序以将当前的区域性用于字符串:

Here is explained how you can localize your app to use the current culture for strings:

http://msdn.microsoft.com/zh-cn/library/windowsphone/develop/ff637520(v = vs.105).aspx

这里有更多有关本地化的文章:

And here there is more extensive article about localization:

最后一场战争对我很有帮助.

The last war very helpful for me.


这篇关于翻译字符串(CultureInfo)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆