persian
How can I use a right to left language in “Sublime Text” editor
There is This Plugin But It Does Not Work Properly https://packagecontrol.io/packages/Bidirectional%20text%20support added by barlop Important Note- As comments indicate, this plugin doesn’t really work. People have issues copy/pasting from sublime into notepad. It’s OK for viewing but that’s not much of an answer. Note, sublime with this plugin might show leters in the correct order … Read more
Why words are shuffled when I insert English words in any Arabic/Urdu/Persian text on Notepad or MS Word?
For example: باللغة العربية “keyboard” انا أريد أن أعرف الكلمة Finish typing the Arabic word and add a space after it (this space separates the embedded text from the Arabic text to its right). Insert special character U+200F (to render the preceding space an Arabic character). The character name is “Right to Left Mark”. Insert … Read more
Twitter Bootstrap CSS that support from RTL languages
I would suggest this http://pyjamacoder.com/2012/02/01/twitter-bootstrap-v2-rtl-edition/ Demo: http://donaldducky.github.com/bootstrap-rtl/
How to Convert Persian Digits in variable to English Digits Using Culture?
Simply Use the code below : private string changePersianNumbersToEnglish(string input) { string[] persian = new string[10] { “۰”, “۱”, “۲”, “۳”, “۴”, “۵”, “۶”, “۷”, “۸”, “۹” }; for (int j=0; j<persian.Length; j++) input = input.Replace(persian[j], j.ToString()); return input; }
How convert Gregorian date to Persian date?
Use the PersianCalendar: string GregorianDate = “Thursday, October 24, 2013”; DateTime d = DateTime.Parse(GregorianDate); PersianCalendar pc = new PersianCalendar(); Console.WriteLine(string.Format(“{0}/{1}/{2}”, pc.GetYear(d), pc.GetMonth(d), pc.GetDayOfMonth(d)));
How to support Arabic text in Android?
Android 2.1 does not have Arabic font. Android 2.2 has Arabic font but does not show your word correctly. Android 3.x supports Arabic completely. For Android 2.1 you must set the typeface Farsi.GetFarsiFont(this) and then use Farsi.Convert(“سلام”) For Android 2.2 you do not need setting font but must use Farsi.Convert(“سلام”) And for Android 3.x forget … Read more