ParamQuery grid support forum
General Category => Help for ParamQuery Grid (free version) => Topic started 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]);
});
-
Hi,
Any idea pls?
Regards,
Ridwan
-
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' ]