Total Posts:
12
Karma:
82
Joined:
1/2/2010
Location:
United States
i think for nop that support multilaguage is important to support 1.rtl and unicode language full for example in pdf created files i suppose to use itextsharp 2.create one property with the name IsRTL in language table to inject RTL css to pages. 3.support hijri or persian calender i suppose to use jquery calender ui instead of telerik calender
Total Posts:
34
Karma:
220
Joined:
10/2/2009
Location:
Iran (Islamic Republic of)
+1 request. itexhSharp to support rtl languages and jquery ui calendar to support persian date. also some changes that might help people with persian language: in NopDatePicker the code that fills the dropdownlist should change like this: for (int i = this.LastYear, j = this.LastYearByCulture; i >= this.FirstYear; i--, j--) { ListItem tempItem = new ListItem(); tempItem.Text = j.ToString(); tempItem.Value = i.ToString(); lstYears.Items.Add(tempItem); } and a new property is needed: public int LastYearByCulture which by "get" should return: Thread.CurrentThread.CurrentCulture.Calendar.GetYear(DateTime.Now); which also needs assigning the PersianCalendar to persian CultureInfo in SetCulture method, the calendar is not the default calendar unfortunately.
Total Posts:
12
Karma:
82
Joined:
1/2/2010
Location:
United States
i know how can i impelement it but i request to add this features by default. do you have iranian bank payments?
Total Posts:
6
Karma:
68
Joined:
4/8/2013
Location:
Egypt
fix for it change pdfservice page and add this line for each new table const string regex_match_arabic_hebrew = @"[\u0600-\u06FF,\u0590-\u05FF]+"; if (Regex.IsMatch("מה קורה", regex_match_arabic_hebrew, RegexOptions.IgnoreCase)) { table.RunDirection = PdfWriter.RUN_DIRECTION_RTL; }