如何在波斯语中创建Winform应用程序.... [英] How to create Winform Application In Persian....?

查看:68
本文介绍了如何在波斯语中创建Winform应用程序....的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用RTL或LTR Formate创建波斯语和英语的Winform应用程序。

维护标志..

如果标志为真则波斯语(RTL)

如果标志为假则为英语(LTR)。在整个应用程序中。

解决方案

旗帜的想法具有误导性。您需要文化(CurrentCulture和CurrentUICulture - en-US和fa-IR)。寻找有关全球化和本地化的文章。

那么你想要支持多少种语言并不重要:唯一的区别在于1种单一语言和1种以上的语言 - 对于2种,3种,10种等语言没有区别!

How to create Winform Application in Persian And English Both Using RTL or LTR Formate.
Maintaining Flags..
If Flags Is true Then Persian(RTL)
And If Flags Is False Then English(LTR). In Whole Application.

解决方案

The idea of a "flag" is misleading. You need "Culture" (CurrentCulture and CurrentUICulture - en-US and fa-IR). Look for articles on Globalization and Localization.
It does not matter how many languages you want to support then: the only differentiation is between 1 single language and more than 1 language - no difference for 2, 3, 10 etc. languages!


这篇关于如何在波斯语中创建Winform应用程序....的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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