سؤال

How can translate Search opetarion in JQGrid search box in Search box For example, instead of equal use = simbole.

enter image description here

thanks all

هل كانت مفيدة؟

المحلول

has full support, check out: jqGrid Internationalization. Looks like you are using Arabic. Simply replace:

<script src="js/lib/grid.locale-en.js"></script>

with Arabic language:

<script src="js/lib/grid.locale-ar.js"></script>

The latter file is part of the jqGrid distribution and contains all you need:

grid.locale-en.js:

$.jgrid = {
    search : {
        odata : ['equal', 'not equal', 'less', 'less or equal','greater','greater or equal', 'begins with','does not begin with','is in','is not in','ends with','does not end with','contains','does not contain'],

grid.locale-ar.js:

$.jgrid = {
    search : {
        odata : ['يساوي', 'يختلف', 'أقل', 'أقل أو يساوي','أكبر','أكبر أو يساوي', 'يبدأ بـ','لا يبدأ بـ','est dans',"n'est pas dans",'ينته بـ','لا ينته بـ','يحتوي','لا يحتوي'],
مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top