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.
我想在 vb.net 中开发一个多语言 Windows 应用程序。我知道如何更改表单的语言以及如何在语言之间切换。但问题是我不知道为什么它不适用于我的语言“波斯语”。我可以在他们之间使用英语和荷兰语和女巫。你有什么主意吗?
如果您正在尝试改变文化,那么这将有所帮助。
Dim cultureInfo As System.Globalization.CultureInfo cultureInfo = New System.Globalization.CultureInfo(language) Thread.CurrentThread.CurrentCulture = cultureInfo Thread.CurrentThread.CurrentUICulture = cultureInfo