Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在创建一个 Windows 8 应用程序并将默认语言设置为 ar(阿拉伯语)。如下图所示:
现在,当消息对话框中显示任何消息时,它会以阿拉伯语格式(从右到左)显示。如何在不更改应用默认语言的情况下更改显示格式。消息显示如下:
我已经更改了 Windows.Globalization.ApplicationLanguages.PrimaryLanguageOverride = "en",然后在显示消息对话时将 Windows.Globalization.ApplicationLanguages.PrimaryLanguageOverride = "ar" 更改回来。