Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Language and In...Language and In...error on Arabic language setting with DNN 6error on Arabic language setting with DNN 6
Previous
 
Next
New Post
4/25/2012 7:40 AM
 

Hello

i have a site with 2 language

English (default) & i add the new language Arabic(AR-SU)

the issue that i cant access any setting for module or site setting for example
its give me an error
A critical error has occurred. Valid values are between 1318 and 1450, inclusive. Parameter name: year

I need to fix that ASAP

any idea?

 
New Post
4/26/2012 1:47 AM
 
anyone can help?
 
New Post
4/26/2012 3:35 AM
 
i was installed Arabic (Saudi Arabia)
now i upgrade the site from 06.01.02 to 06.01.5
then i deactivate the Arabic language(Saudi Arabia)
then i install another package - Arabic (Jordan)
i test it its work on this language
but when i delete the Arabic for Saudi Arabia and reinstall it again it still gives the same error
i think its an issue with the language package


so any idea to update the language package for Arabic (Saudi Arabia)
or are ther any way to change the language on the URL to appear ar-sa rather than ar-jo?
 
New Post
5/17/2012 4:51 AM
 

Hey Nisreen,

 Do the following as a workaround for your module settings untill this is done properly by dnn:

add to the control  in the directory dnndir\admin\Modules\modulesettings.ascx.cs

the following lines on bindata function:

private void BindData()
        {
            if (Module != null)
            {
                CultureInfo info = new CultureInfo("ar-SA");
                GregorianCalendar calendar = new GregorianCalendar();
                info.DateTimeFormat.Calendar = calendar;
                this.startDatePicker.Culture = info;
                this.endDatePicker.Culture = info;

etc...

And the error will cease to appear. You can also set the calendar to "HijriCalendar" instead of the "GregorianCalendar" object but the support for hijri is not available for raddatepicker as i noticed.

Take care.

 
New Post
2/1/2013 5:06 AM
 

Hi, 

this is caused by the none supporting the arabic culture in Telerik Datepicker control

The datepickerstartDate and the datepickerEndDate in the managetab.ascx

i have worked around this with the following line of codes in the OnInit of that ascx

Code:

datepickerStartDate.Culture = new System.Globalization.CultureInfo("en-US");
datepickerEndDate.Culture = new System.Globalization.CultureInfo("en-US");

that solved this issue

regards

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Language and In...Language and In...error on Arabic language setting with DNN 6error on Arabic language setting with DNN 6


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out