获取安装在C#中的Windows第一语言 [英] Get Windows first language intalled in C#

查看:50
本文介绍了获取安装在C#中的Windows第一语言的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

< p style =" padding-right:0px; padding-left:0px; border:0px; font-family:Arial,'Helvetica Neue',Helvetica,sans-serif; line-height:inherit; font -size:15px; vertical-align:baseline; box-sizing:inherit; clear:both; caret-color:#242729; color:#242729;">
如何使用第一个安装的语言C# ?我尝试过使用"System.Globalization.CultureInfo.CurrentCulture"。但它总是返回英语我想要获得意大利语。< / p>< p style =" padding-right:0px; padding-left:0px; border:0px; font-family:Arial,
' Helvetica Neue',Helvetica,sans-serif; line-height:inherit; font-size:15px; vertical-align:baseline; box-sizing:inherit; clear:both; caret-color:#242729; color:#242729; ">< / p>< p style =" padding-right:0px; padding-left:0px; border:0px; font-family:Arial,
'Helvetica Neue',Helvetica,sans -serif;行高:继承;字体大小:15像素;垂直对齐:基线;箱上浆:继承;明确:两者;脱字符号颜色:#242729;颜色:#242729;">< IMG ALT ="" SRC =" HTTPS://social.msdn.microsoft.com/Forums/getfile/1348045"
/>< / p>

<p style="padding-right:0px;padding-left:0px;border:0px;font-family:Arial, 'Helvetica Neue', Helvetica, sans-serif;line-height:inherit;font-size:15px;vertical-align:baseline;box-sizing:inherit;clear:both;caret-color:#242729;color:#242729;">How can I get the first installed language using c# ? I've tried using "System.Globalization.CultureInfo.CurrentCulture" but it always returns English I want to get Italian.</p><p style="padding-right:0px;padding-left:0px;border:0px;font-family:Arial, 'Helvetica Neue', Helvetica, sans-serif;line-height:inherit;font-size:15px;vertical-align:baseline;box-sizing:inherit;clear:both;caret-color:#242729;color:#242729;"></p><p style="padding-right:0px;padding-left:0px;border:0px;font-family:Arial, 'Helvetica Neue', Helvetica, sans-serif;line-height:inherit;font-size:15px;vertical-align:baseline;box-sizing:inherit;clear:both;caret-color:#242729;color:#242729;"><img alt="" src="https://social.msdn.microsoft.com/Forums/getfile/1348045" /></p>

推荐答案

请删除所有格式,以便我们阅读您的帖子。

Please get rid of all the formatting so we can read your thread.


这篇关于获取安装在C#中的Windows第一语言的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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