jQWidgets Forums

jQuery UI Widgets Forums Grid Grid Localization

This topic contains 2 replies, has 2 voices, and was last updated by  Peter Stoev 12 years, 9 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • Grid Localization #10014

    shimmoril
    Participant

    I’m trying to localize my grid into Arabic, which is mostly working fine. The one issue is that since Arabic is read right-to-left, the input boxes are on the wrong side (ie. Go to page). Is there any solution for this currently? I noticed that Arabic does not seem to be one of your currently supported languages.

    I would also be interested in knowing your plans to expand the globalization files provided w/ JQWidgets for the calendars. Would it be possible to make a request for certain languages?

    Grid Localization #10016

    shimmoril
    Participant

    Just an FYI, there are issues w/ Arabic and trying to set up some of the localization strings – specifically when creating the lists of operators. Again due to the right-to-left issue, I had to create temporary variables to store the actual Arabic text, and use them to create the comma-separated list. See below for an example:

    //temp variables to deal w/ right-to-left text issues in comma-separated lists
    var empty = 'فارغ';
    var not_empty = 'غير فارغ';
    var contains = 'يحتوي';
    var contains_match = 'يحتوي على (حالة المباراة)';
    var not_contain = 'لا يحتوي';
    var not_contain_match = 'لا يحتوي (تطابق الحالة)';
    var starts = 'يبدأ';
    var starts_match = 'يبدأ ب (مطابقة حالة الأحرف)';
    var ends = 'ينتهي';
    var ends_match = 'ينتهي (مطابقة حالة الأحرف)';
    var equal = 'متساو';
    var equal_match = 'المساواة (قضية مباراة)';
    var not_equal = 'لا تساوي';
    var null_ = 'فارغة';
    var not_null = 'غير فارغة';
    var less = 'أقل من';
    var less_equal = 'أقل من أو يساوي';
    var greater = 'أكبر من';
    var greater_equal = 'أكبر من أو يساوي';
    localizationobj.filterstringcomparisonoperators = [empty, not_empty, contains, contains_match, not_contain, not_contain_match, starts, starts_match, ends, ends_match, equal, equal_match, null_, not_null];
    localizationobj.filternumericcomparisonoperators = [equal, not_equal, less, less_equal, greater, greater_equal, null_, not_null];
    localizationobj.filterdatecomparisonoperators = [equal, not_equal, less, less_equal, greater, greater_equal, null_, not_null];
    localizationobj.filterbooleancomparisonoperators = [equal, not_equal];

    (Yes, I am aware that the brackets aren’t correct)

    Grid Localization #10021

    Peter Stoev
    Keymaster

    Hi shimmoril,

    – Our future development plans are available online: http://www.jqwidgets.com/roadmap. If there are any planned updates or changes in our plans, they will be available online.
    – To change the Grid Pager’s layout, you will need to create your own Pager as demonstrated in this help topic: jquery-grid-paging.htm.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.