C # Windows Store App, Windows Phone App Development, to determine the national language computers and mobile devices currently in use.

Generally, we in the development of Windows Store App, when Windows Phone App, it is often required to determine the current configuration of the user's UI language do correspond to, or in place of some of the changes that the user how to judge what the current language ?

This article will guide you to determine language computer and mobile devices currently in use.


Generally, we in the development of Windows Store App, when Windows Phone App, it is often required to determine the current configuration of the user's UI language do correspond to, or in place of some of the changes that the user how to judge what the current language ?

This article will guide you to determine language computer and mobile devices currently in use.

Like APP SUKI now we are developed by using the voice functions, but some voice only support Traditional Chinese language,

Thus shall we do it? Can not let people in other countries use this voice it, unless the user who proficient in Chinese, which is another matter

In order to meet the needs of most users, in the APP and do not put some function can not be used,

So we can decide to limit the configuration UI or through detection function the way language

We talk so much in fact only for a one-liner, the bank's program to know what your device is its use of wood languages ​​Hello !!

   1:  Debug.WriteLine(CultureInfo.CurrentCulture.Name);

This time it will show your national language at La [output] window.

   1: zh-TW

In this way we will learn how to determine the language computers and mobile devices currently in use.

The article describes the concept, if not correct the wrong section, welcome to inform correct me thank you
please indicate the source, and attach this article URL! Thanks.

SUKI

HOLIESTAR

https://www.facebook.com/Holiestar
https://www.facebook.com/firestar.register

Original: Large column  C # Windows Store App, Windows Phone App Development, to determine the national language computers and mobile devices currently in use.


Guess you like

Origin www.cnblogs.com/chinatrump/p/11490792.html