回帖总数:
12
业力:
82
注册日期:
2010/1/2
位置:
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
回帖总数:
34
业力:
220
注册日期:
2009/10/2
位置:
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.
回帖总数:
12
业力:
82
注册日期:
2010/1/2
位置:
United States
i know how can i impelement it but i request to add this features by default. do you have iranian bank payments?
回帖总数:
6
业力:
68
注册日期:
2013/4/8
位置:
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; }