Всего сообщений:
12
Карма:
82
Присоединился:
02.01.2010
Страна:
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
Присоединился:
02.10.2009
Страна:
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
Присоединился:
02.01.2010
Страна:
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
Присоединился:
08.04.2013
Страна:
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; }