Author Topic: Changing Grid localization ot Arabic... supported?  (Read 3375 times)

ridwanhabbal

  • Newbie
  • *
  • Posts: 18
    • View Profile
Changing Grid localization ot Arabic... supported?
« on: July 26, 2015, 02:19:22 am »
Hi,

Is localization of param grid to Arabic supported? please provide instuctions if there is more than the localization example on the site
 var $grid=$("div#grid-localize").pqGrid(obj);             
    $("#select-locale").change(function(evt){
        var locale=$(this).val();
        $grid.pqGrid("option", $.paramquery.pqGrid.regional[locale]);
        //$.paramquery.pqGrid.setDefaults($.paramquery.pqGrid.regional[locale]);
        $grid.find(".pq-pager").pqPager("option", $.paramquery.pqPager.regional[locale]);
        //$.paramquery.pqPager.setDefaults($.paramquery.pqPager.regional[locale]);
    });

ridwanhabbal

  • Newbie
  • *
  • Posts: 18
    • View Profile
Re: Changing Grid localization ot Arabic... supported?
« Reply #1 on: July 27, 2015, 01:24:55 pm »
Hi,

Any idea pls?

Regards,
Ridwan

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6309
    • View Profile
Re: Changing Grid localization ot Arabic... supported?
« Reply #2 on: July 27, 2015, 01:39:39 pm »
Please check the format of localization files in the localize folder and you could create a similar file for Arabic or any other language.

Just include that file in the document and use that locale string.

$.paramquery.pqGrid.regional[ 'arabic' ]