ParamQuery grid support forum

General Category => Help for ParamQuery Grid (free version) => Topic started by: ridwanhabbal on July 26, 2015, 02:19:22 am

Title: Changing Grid localization ot Arabic... supported?
Post by: ridwanhabbal 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]);
    });
Title: Re: Changing Grid localization ot Arabic... supported?
Post by: ridwanhabbal on July 27, 2015, 01:24:55 pm
Hi,

Any idea pls?

Regards,
Ridwan
Title: Re: Changing Grid localization ot Arabic... supported?
Post by: paramvir 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' ]