jQuery UI Widgets Forums Grid Decimal séparator ","

This topic contains 6 replies, has 2 voices, and was last updated by  valeriektv 10 years, 3 months ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
  • Decimal séparator "," #60906

    valeriektv
    Participant

    Hello
    I use localization in jqwidgets to change the séparator in number,
    I modified file localization.js and add french localization (case ‘fr’)`var getLocalization = function (culture) {
    var localization = null;
    switch (culture) {
    case “de”:
    localization =
    {
    // separator of parts of a date (e.g. ‘/’ in 11/05/1955)
    ‘/’: “/”,
    // separator of parts of a time (e.g. ‘:’ in 05:44 PM)
    ‘:’: “:”,
    // the first day of the week (0 = Sunday, 1 = Monday, etc)
    firstDay: 1,
    days: {
    // full day names
    names: [“Sonntag”, “Montag”, “Dienstag”, “Mittwoch”, “Donnerstag”, “Freitag”, “Samstag”],
    // abbreviated day names
    namesAbbr: [“Sonn”, “Mon”, “Dien”, “Mitt”, “Donn”, “Fre”, “Sams”],
    // shortest day names
    namesShort: [“So”, “Mo”, “Di”, “Mi”, “Do”, “Fr”, “Sa”]
    },

    months: {
    // full month names (13 months for lunar calendards — 13th month should be “” if not lunar)
    names: [“Januar”, “Februar”, “März”, “April”, “Mai”, “Juni”, “Juli”, “August”, “September”, “Oktober”, “November”, “Dezember”, “”],
    // abbreviated month names
    namesAbbr: [“Jan”, “Feb”, “Mär”, “Apr”, “Mai”, “Jun”, “Jul”, “Aug”, “Sep”, “Oct”, “Nov”, “Dez”, “”]
    },
    // AM and PM designators in one of these forms:
    // The usual view, and the upper and lower case versions
    // [standard,lowercase,uppercase]
    // The culture does not use AM or PM (likely all standard date formats use 24 hour time)
    // null
    AM: [“AM”, “am”, “AM”],
    PM: [“PM”, “pm”, “PM”],
    eras: [
    // eras in reverse chronological order.
    // name: the name of the era in this culture (e.g. A.D., C.E.)
    // start: when the era starts in ticks (gregorian, gmt), null if it is the earliest supported era.
    // offset: offset in years from gregorian calendar
    { “name”: “A.D.”, “start”: null, “offset”: 0 }
    ],
    twoDigitYearMax: 2029,
    patterns:
    {
    d: “dd.MM.yyyy”,
    D: “dddd, d. MMMM yyyy”,
    t: “HH:mm”,
    T: “HH:mm:ss”,
    f: “dddd, d. MMMM yyyy HH:mm”,
    F: “dddd, d. MMMM yyyy HH:mm:ss”,
    M: “dd MMMM”,
    Y: “MMMM yyyy”

    },
    percentsymbol: “%”,
    currencysymbol: “€”,
    currencysymbolposition: “after”,
    decimalseparator: ‘.’,
    thousandsseparator: ‘,’,
    pagergotopagestring: “Gehe zu”,
    pagershowrowsstring: “Zeige Zeile:”,
    pagerrangestring: ” von “,
    pagerpreviousbuttonstring: “nächster”,
    pagernextbuttonstring: “voriger”,
    pagerfirstbuttonstring: “first”,
    pagerlastbuttonstring: “last”,
    groupsheaderstring: “Ziehen Sie eine Kolumne und legen Sie es hier zu Gruppe nach dieser Kolumne”,
    sortascendingstring: “Sortiere aufsteigend”,
    sortdescendingstring: “Sortiere absteigend”,
    sortremovestring: “Entferne Sortierung”,
    groupbystring: “Group By this column”,
    groupremovestring: “Remove from groups”,
    filterclearstring: “Löschen”,
    filterstring: “Filter”,
    filtershowrowstring: “Zeige Zeilen, in denen:”,
    filterorconditionstring: “Oder”,
    filterandconditionstring: “Und”,
    filterselectallstring: “(Alle auswählen)”,
    filterchoosestring: “Bitte wählen Sie:”,
    filterstringcomparisonoperators: [‘leer’, ‘nicht leer’, ‘enthält’, ‘enthält(gu)’,
    ‘nicht enthalten’, ‘nicht enthalten(gu)’, ‘beginnt mit’, ‘beginnt mit(gu)’,
    ‘endet mit’, ‘endet mit(gu)’, ‘equal’, ‘gleich(gu)’, ‘null’, ‘nicht null’],
    filternumericcomparisonoperators: [‘gleich’, ‘nicht gleich’, ‘weniger als’, ‘kleiner oder gleich’, ‘größer als’, ‘größer oder gleich’, ‘null’, ‘nicht null’],
    filterdatecomparisonoperators: [‘gleich’, ‘nicht gleich’, ‘weniger als’, ‘kleiner oder gleich’, ‘größer als’, ‘größer oder gleich’, ‘null’, ‘nicht null’],
    filterbooleancomparisonoperators: [‘gleich’, ‘nicht gleich’],
    validationstring: “Der eingegebene Wert ist ungültig”,
    emptydatastring: “Nokeine Daten angezeigt”,
    filterselectstring: “Wählen Sie Filter”,
    loadtext: “Loading…”,
    clearstring: “Löschen”,
    todaystring: “Heute”
    }
    break;
    case “en”:
    default:
    localization =
    {
    // separator of parts of a date (e.g. ‘/’ in 11/05/1955)
    ‘/’: “/”,
    // separator of parts of a time (e.g. ‘:’ in 05:44 PM)
    ‘:’: “:”,
    // the first day of the week (0 = Sunday, 1 = Monday, etc)
    firstDay: 0,
    days: {
    // full day names
    names: [“Sunday”, “Monday”, “Tuesday”, “Wednesday”, “Thursday”, “Friday”, “Saturday”],
    // abbreviated day names
    namesAbbr: [“Sun”, “Mon”, “Tue”, “Wed”, “Thu”, “Fri”, “Sat”],
    // shortest day names
    namesShort: [“Su”, “Mo”, “Tu”, “We”, “Th”, “Fr”, “Sa”]
    },
    months: {
    // full month names (13 months for lunar calendards — 13th month should be “” if not lunar)
    names: [“January”, “February”, “March”, “April”, “May”, “June”, “July”, “August”, “September”, “October”, “November”, “December”, “”],
    // abbreviated month names
    namesAbbr: [“Jan”, “Feb”, “Mar”, “Apr”, “May”, “Jun”, “Jul”, “Aug”, “Sep”, “Oct”, “Nov”, “Dec”, “”]
    },
    // AM and PM designators in one of these forms:
    // The usual view, and the upper and lower case versions
    // [standard,lowercase,uppercase]
    // The culture does not use AM or PM (likely all standard date formats use 24 hour time)
    // null
    AM: [“AM”, “am”, “AM”],
    PM: [“PM”, “pm”, “PM”],
    eras: [
    // eras in reverse chronological order.
    // name: the name of the era in this culture (e.g. A.D., C.E.)
    // start: when the era starts in ticks (gregorian, gmt), null if it is the earliest supported era.
    // offset: offset in years from gregorian calendar
    { “name”: “A.D.”, “start”: null, “offset”: 0 }
    ],
    twoDigitYearMax: 2029,
    patterns: {
    // short date pattern
    d: “M/d/yyyy”,
    // long date pattern
    D: “dddd, MMMM dd, yyyy”,
    // short time pattern
    t: “h:mm tt”,
    // long time pattern
    T: “h:mm:ss tt”,
    // long date, short time pattern
    f: “dddd, MMMM dd, yyyy h:mm tt”,
    // long date, long time pattern
    F: “dddd, MMMM dd, yyyy h:mm:ss tt”,
    // month/day pattern
    M: “MMMM dd”,
    // month/year pattern
    Y: “yyyy MMMM”,
    // S is a sortable format that does not vary by culture
    S: “yyyy\u0027-\u0027MM\u0027-\u0027dd\u0027T\u0027HH\u0027:\u0027mm\u0027:\u0027ss”,
    // formatting of dates in MySQL DataBases
    ISO: “yyyy-MM-dd hh:mm:ss”,
    ISO2: “yyyy-MM-dd HH:mm:ss”,
    d1: “dd.MM.yyyy”,
    d2: “dd-MM-yyyy”,
    d3: “dd-MMMM-yyyy”,
    d4: “dd-MM-yy”,
    d5: “H:mm”,
    d6: “HH:mm”,
    d7: “HH:mm tt”,
    d8: “dd/MMMM/yyyy”,
    d9: “MMMM-dd”,
    d10: “MM-dd”,
    d11: “MM-dd-yyyy”
    },
    percentsymbol: “%”,
    currencysymbol: “$”,
    currencysymbolposition: “before”,
    decimalseparator: ‘.’,
    thousandsseparator: ‘,’,
    pagergotopagestring: “Go to page:”,
    pagershowrowsstring: “Show rows:”,
    pagerrangestring: ” of “,
    pagerpreviousbuttonstring: “previous”,
    pagernextbuttonstring: “next”,
    pagerfirstbuttonstring: “first”,
    pagerlastbuttonstring: “last”,
    groupsheaderstring: “Drag a column and drop it here to group by that column”,
    sortascendingstring: “Sort Ascending”,
    sortdescendingstring: “Sort Descending”,
    sortremovestring: “Remove Sort”,
    groupbystring: “Group By this column”,
    groupremovestring: “Remove from groups”,
    filterclearstring: “Clear”,
    filterstring: “Filter”,
    filtershowrowstring: “Show rows where:”,
    filterorconditionstring: “Or”,
    filterandconditionstring: “And”,
    filterselectallstring: “(Select All)”,
    filterchoosestring: “Please Choose:”,
    filterstringcomparisonoperators: [’empty’, ‘not empty’, ‘enthalten’, ‘enthalten(match case)’,
    ‘does not contain’, ‘does not contain(match case)’, ‘starts with’, ‘starts with(match case)’,
    ‘ends with’, ‘ends with(match case)’, ‘equal’, ‘equal(match case)’, ‘null’, ‘not null’],
    filternumericcomparisonoperators: [‘equal’, ‘not equal’, ‘less than’, ‘less than or equal’, ‘greater than’, ‘greater than or equal’, ‘null’, ‘not null’],
    filterdatecomparisonoperators: [‘equal’, ‘not equal’, ‘less than’, ‘less than or equal’, ‘greater than’, ‘greater than or equal’, ‘null’, ‘not null’],
    filterbooleancomparisonoperators: [‘equal’, ‘not equal’],
    validationstring: “Entered value is not valid”,
    emptydatastring: “No data to display”,
    filterselectstring: “Select Filter”,
    loadtext: “Loading…”,
    clearstring: “Clear”,
    todaystring: “Today”
    }
    break;

    case “fr”:

    localization =
    {
    // separator of parts of a date (e.g. ‘/’ in 11/05/1955)
    ‘/’: “/”,
    // separator of parts of a time (e.g. ‘:’ in 05:44 PM)
    ‘:’: “:”,
    // the first day of the week (0 = Sunday, 1 = Monday, etc)
    firstDay: 0,
    days: {
    // nom complet des jours de la semaine
    names: [“Dimanche”, “Lundi”, “Mardi”, “Mercredi”, “Jeudi”, “Vendredi”, “Samedi”],
    //jour abrégé
    namesAbbr: [“Dim”, “Lun”, “Mar”, “Mer”, “Jeu”, “Ven”, “Sam”],
    // shortest day names
    namesShort: [“Di”, “Lu”, “Ma”, “Me”, “Je”, “Ve”, “Sa”]
    },
    months: {
    // full month names (13 months for lunar calendards — 13th month should be “” if not lunar)
    names: [“Janvier”, “Fevrier”, “Mars”, “Avril”, “Mai”, “Juin”, “Juillet”, “Août”, “Septembre”, “Octobre”, “Novembre”, “Décembre”, “”],
    // abbreviated month names
    namesAbbr: [“Jan”, “Fev”, “Mar”, “Avr”, “Mai”, “Jui”, “Jul”, “Aou”, “Sep”, “Oct”, “Nov”, “Dec”, “”]
    },
    // AM and PM designators in one of these forms:
    // The usual view, and the upper and lower case versions
    // [standard,lowercase,uppercase]
    // The culture does not use AM or PM (likely all standard date formats use 24 hour time)
    // null
    AM: [“AM”, “am”, “AM”],
    PM: [“PM”, “pm”, “PM”],
    eras: [
    // eras in reverse chronological order.
    // name: the name of the era in this culture (e.g. A.D., C.E.)
    // start: when the era starts in ticks (gregorian, gmt), null if it is the earliest supported era.
    // offset: offset in years from gregorian calendar
    { “name”: “A.D.”, “start”: null, “offset”: 0 }
    ],
    twoDigitYearMax: 2029,
    patterns: {
    // short date pattern
    d: “M/d/yyyy”,
    // long date pattern
    D: “dddd, MMMM dd, yyyy”,
    // short time pattern
    t: “h:mm tt”,
    // long time pattern
    T: “h:mm:ss tt”,
    // long date, short time pattern
    f: “dddd, MMMM dd, yyyy h:mm tt”,
    // long date, long time pattern
    F: “dddd, MMMM dd, yyyy h:mm:ss tt”,
    // month/day pattern
    M: “MMMM dd”,
    // month/year pattern
    Y: “yyyy MMMM”,
    // S is a sortable format that does not vary by culture
    S: “yyyy\u0027-\u0027MM\u0027-\u0027dd\u0027T\u0027HH\u0027:\u0027mm\u0027:\u0027ss”,
    // formatting of dates in MySQL DataBases
    ISO: “yyyy-MM-dd hh:mm:ss”,
    ISO2: “yyyy-MM-dd HH:mm:ss”,
    d1: “dd.MM.yyyy”,
    d2: “dd-MM-yyyy”,
    d3: “dd-MMMM-yyyy”,
    d4: “dd-MM-yy”,
    d5: “H:mm”,
    d6: “HH:mm”,
    d7: “HH:mm tt”,
    d8: “dd/MMMM/yyyy”,
    d9: “MMMM-dd”,
    d10: “MM-dd”,
    d11: “MM-dd-yyyy”
    },
    percentsymbol: “%”,
    currencysymbol: “€”,
    currencysymbolposition: “avant”,
    decimalseparator: ‘,’,
    thousandsseparator: ‘ ‘,
    pagergotopagestring: “Aller à la page:”,
    pagershowrowsstring: “Montrer les lignes:”,
    pagerrangestring: ” de “,
    pagerpreviousbuttonstring: “precédent”,
    pagernextbuttonstring: “suivant”,
    pagerfirstbuttonstring: “premier”,
    pagerlastbuttonstring: “dernier”,
    groupsheaderstring: “Drag a column and drop it here to group by that column”,
    sortascendingstring: “Tri Ascendant”,
    sortdescendingstring: “Tri Descendant”,
    sortremovestring: “Retirer le tri”,
    groupbystring: “Grouper par cette colonne”,
    groupremovestring: “Retirer du group”,
    filterclearstring: “Effacer”,
    filterstring: “Filtrer”,
    filtershowrowstring: “Montrer les lignes ici:”,
    filterorconditionstring: “Ou”,
    filterandconditionstring: “Et”,
    filterselectallstring: “(Selectectionner tout)”,
    filterchoosestring: “SVP choiir:”,
    filterstringcomparisonoperators: [’empty’, ‘not empty’, ‘enthalten’, ‘enthalten(match case)’,
    ‘does not contain’, ‘does not contain(match case)’, ‘starts with’, ‘starts with(match case)’,
    ‘ends with’, ‘ends with(match case)’, ‘equal’, ‘equal(match case)’, ‘null’, ‘not null’],
    filternumericcomparisonoperators: [‘equal’, ‘not equal’, ‘less than’, ‘less than or equal’, ‘greater than’, ‘greater than or equal’, ‘null’, ‘not null’],
    filterdatecomparisonoperators: [‘equal’, ‘not equal’, ‘less than’, ‘less than or equal’, ‘greater than’, ‘greater than or equal’, ‘null’, ‘not null’],
    filterbooleancomparisonoperators: [‘equal’, ‘not equal’],
    validationstring: “Entered value is not valid”,
    emptydatastring: “No data to display”,
    filterselectstring: “Select Filter”,
    loadtext: “Chargement de la page…”,
    clearstring: “Effacer”,
    todaystring: “Aujourd’hui”
    }
    break;
    }
    return localization;
    }`
    My html is

    <!DOCTYPE html>
    <html lang="en">
    <head>
        <title id='Description'></title>
        <link rel="stylesheet" href="../../jqwidgets/styles/jqx.base.css" type="text/css" />
        <script type="text/javascript" src="../../scripts/jquery-1.10.2.min.js"></script>
        <script type="text/javascript" src="../../jqwidgets/jqxcore.js"></script>
        <script type="text/javascript" src="../../jqwidgets/jqxdata.js"></script> 
        <script type="text/javascript" src="../../jqwidgets/jqxbuttons.js"></script>
        <script type="text/javascript" src="../../jqwidgets/jqxscrollbar.js"></script>
        <script type="text/javascript" src="../../jqwidgets/jqxmenu.js"></script>
        <script type="text/javascript" src="../../jqwidgets/jqxgrid.js"></script>
        <script type="text/javascript" src="../../jqwidgets/jqxgrid.selection.js"></script> 
        <script type="text/javascript" src="../../jqwidgets/jqxgrid.columnsresize.js"></script> 
    	 <script type="text/javascript" src="../../jqwidgets/jqxnumberinput.js"></script>
        <script type="text/javascript" src="../../jqwidgets/jqxlistbox.js"></script>
        <script type="text/javascript" src="../../jqwidgets/jqxdropdownlist.js"></script>
        <script type="text/javascript" src="../../scripts/demos.js"></script>
    	  <script type="text/javascript" src="../../scripts/localisation.js"></script>
    	<script type="text/javascript" src="../../jqwidgets/globalization/globalize.js"></script>
    
    	
    
        <script type="text/javascript">
    	
            $(document).ready(function () {
                var url = '../sampledata/nasdaq_vs_sp500.txt';
    
                var source =
                {
                    datatype: "csv",
                    datafields: [
                        { name: 'Date', type: 'date' },
                        { name: 'S&P 500', type: 'float' },
                        { name: 'NASDAQ', type: 'float' }
                    ],
    				url: url
                };
    
                var dataAdapter = new $.jqx.dataAdapter(source);
    			
    
                $("#jqxgrid").jqxGrid(
                {
                    width: 670,
                    source: dataAdapter,
                    columnsresize: true,
    				 localization: getLocalization('fr'),
    				  selectionmode: 'singlecell',
                    columns: [
                      { text: 'Date', datafield: 'Date', cellsformat: 'D', width: 250},
                      { text: 'S&P 500', datafield: 'S&P 500', width: 200, cellsformat: 'f' 	},
                      { text: 'NASDAQ', datafield: 'NASDAQ', width: 200, cellsformat: 'f' }         
                    ]
                });
            });
    		
    		
    		
        </script>
    </head>
    <body class='default'>
        <div id='jqxWidget'>
            <div id="jqxgrid"></div>
        </div>
    </body>
    </html>
    

    But the number is not modifie
    The number display 123.23 , normally we have 123,23, What is the PB?

    Decimal séparator "," #60945

    Nadezhda
    Participant

    Hello valeriektv,

    We don’t have this issue when set the “decimalseparator” to “,”. Do you have this issue on editmode only?

    Best Regards,
    Nadezhda

    jQWidgets team
    http://www.jqwidgets.com/

    Decimal séparator "," #60950

    valeriektv
    Participant

    HI Nadezhda, Please what is editmode?It i what propertyin jqxgrid?”editable: true or false?”

    Decimal séparator "," #60951

    Nadezhda
    Participant

    Hello valeriektv,

    Edit mode is when you start editing a cell (when you enter the cell editor) in jqxGrid.

    Best Regards,
    Nadezhda

    jQWidgets team
    http://www.jqwidgets.com/

    Decimal séparator "," #60956

    valeriektv
    Participant

    Ok I d’ont have edititmode in my scripts, I want to display number in my grid with “,” and not “.”(ex 123,34) Please How can Process?what method I can use?

    Decimal séparator "," #60959

    Nadezhda
    Participant

    Hi valeriektv,

    You can change this symbol with “decimalseparator” and set it to “,” in Localization.js. In the following example you can overview our localization.js file where we set the “de” decimal separator to “,”. You can test it on Localization demo:http://www.jqwidgets.com/jquery-widgets-demo/demos/jqxgrid/localization.htm?arctic.

    I would also suggest you to use the most recent version which is 3.5.0.

    var getLocalization = function (culture) {
        var localization = null;
        switch (culture) {
            case "de":
                localization =
                 {
                     // separator of parts of a date (e.g. '/' in 11/05/1955)
                     '/': "/",
                     // separator of parts of a time (e.g. ':' in 05:44 PM)
                     ':': ":",
                     // the first day of the week (0 = Sunday, 1 = Monday, etc)
                     firstDay: 1,
                     days: {
                         // full day names
                         names: ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"],
                         // abbreviated day names
                         namesAbbr: ["Sonn", "Mon", "Dien", "Mitt", "Donn", "Fre", "Sams"],
                         // shortest day names
                         namesShort: ["So", "Mo", "Di", "Mi", "Do", "Fr", "Sa"]
                     },
    
                     months: {
                         // full month names (13 months for lunar calendards -- 13th month should be "" if not lunar)
                         names: ["Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember", ""],
                         // abbreviated month names
                         namesAbbr: ["Jan", "Feb", "Mär", "Apr", "Mai", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dez", ""]
                     },
                     // AM and PM designators in one of these forms:
                     // The usual view, and the upper and lower case versions
                     //      [standard,lowercase,uppercase]
                     // The culture does not use AM or PM (likely all standard date formats use 24 hour time)
                     //      null
                     AM: ["AM", "am", "AM"],
                     PM: ["PM", "pm", "PM"],
                     eras: [
                     // eras in reverse chronological order.
                     // name: the name of the era in this culture (e.g. A.D., C.E.)
                     // start: when the era starts in ticks (gregorian, gmt), null if it is the earliest supported era.
                     // offset: offset in years from gregorian calendar
                     { "name": "A.D.", "start": null, "offset": 0 }
                     ],
                     twoDigitYearMax: 2029,
                     patterns:
                      {
                          d: "dd.MM.yyyy",
                          D: "dddd, d. MMMM yyyy",
                          t: "HH:mm",
                          T: "HH:mm:ss",
                          f: "dddd, d. MMMM yyyy HH:mm",
                          F: "dddd, d. MMMM yyyy HH:mm:ss",
                          M: "dd MMMM",
                          Y: "MMMM yyyy"
    
                      },
                     percentsymbol: "%",
                     currencysymbol: "€",
                     currencysymbolposition: "after",
                     decimalseparator: ',',
                     thousandsseparator: ' ',
                     pagergotopagestring: "Gehe zu",
                     pagershowrowsstring: "Zeige Zeile:",
                     pagerrangestring: " von ",
                     pagerpreviousbuttonstring: "nächster",
                     pagernextbuttonstring: "voriger",
                     pagerfirstbuttonstring: "first",
                     pagerlastbuttonstring: "last",
                     groupsheaderstring: "Ziehen Sie eine Kolumne und legen Sie es hier zu Gruppe nach dieser Kolumne",
                     sortascendingstring: "Sortiere aufsteigend",
                     sortdescendingstring: "Sortiere absteigend",
                     sortremovestring: "Entferne Sortierung",
                     groupbystring: "Group By this column",
                     groupremovestring: "Remove from groups",
                     filterclearstring: "Löschen",
                     filterstring: "Filter",
                     filtershowrowstring: "Zeige Zeilen, in denen:",
                     filterorconditionstring: "Oder",
                     filterandconditionstring: "Und",
                     filterselectallstring: "(Alle auswählen)",
                     filterchoosestring: "Bitte wählen Sie:",
                     filterstringcomparisonoperators: ['leer', 'nicht leer', 'enthält', 'enthält(gu)',
                        'nicht enthalten', 'nicht enthalten(gu)', 'beginnt mit', 'beginnt mit(gu)',
                        'endet mit', 'endet mit(gu)', 'equal', 'gleich(gu)', 'null', 'nicht null'],
                     filternumericcomparisonoperators: ['gleich', 'nicht gleich', 'weniger als', 'kleiner oder gleich', 'größer als', 'größer oder gleich', 'null', 'nicht null'],
                     filterdatecomparisonoperators: ['gleich', 'nicht gleich', 'weniger als', 'kleiner oder gleich', 'größer als', 'größer oder gleich', 'null', 'nicht null'],
                     filterbooleancomparisonoperators: ['gleich', 'nicht gleich'],
                     validationstring: "Der eingegebene Wert ist ungültig",
                     emptydatastring: "Nokeine Daten angezeigt",
                     filterselectstring: "Wählen Sie Filter",
                     loadtext: "Loading...",
                     clearstring: "Löschen",
                     todaystring: "Heute"
                 }
                break;
            case "en":
            default:
                localization =
                {
                    // separator of parts of a date (e.g. '/' in 11/05/1955)
                    '/': "/",
                    // separator of parts of a time (e.g. ':' in 05:44 PM)
                    ':': ":",
                    // the first day of the week (0 = Sunday, 1 = Monday, etc)
                    firstDay: 0,
                    days: {
                        // full day names
                        names: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
                        // abbreviated day names
                        namesAbbr: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
                        // shortest day names
                        namesShort: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"]
                    },
                    months: {
                        // full month names (13 months for lunar calendards -- 13th month should be "" if not lunar)
                        names: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", ""],
                        // abbreviated month names
                        namesAbbr: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec", ""]
                    },
                    // AM and PM designators in one of these forms:
                    // The usual view, and the upper and lower case versions
                    //      [standard,lowercase,uppercase]
                    // The culture does not use AM or PM (likely all standard date formats use 24 hour time)
                    //      null
                    AM: ["AM", "am", "AM"],
                    PM: ["PM", "pm", "PM"],
                    eras: [
                    // eras in reverse chronological order.
                    // name: the name of the era in this culture (e.g. A.D., C.E.)
                    // start: when the era starts in ticks (gregorian, gmt), null if it is the earliest supported era.
                    // offset: offset in years from gregorian calendar
                    { "name": "A.D.", "start": null, "offset": 0 }
                    ],
                    twoDigitYearMax: 2029,
                    patterns: {
                        // short date pattern
                        d: "M/d/yyyy",
                        // long date pattern
                        D: "dddd, MMMM dd, yyyy",
                        // short time pattern
                        t: "h:mm tt",
                        // long time pattern
                        T: "h:mm:ss tt",
                        // long date, short time pattern
                        f: "dddd, MMMM dd, yyyy h:mm tt",
                        // long date, long time pattern
                        F: "dddd, MMMM dd, yyyy h:mm:ss tt",
                        // month/day pattern
                        M: "MMMM dd",
                        // month/year pattern
                        Y: "yyyy MMMM",
                        // S is a sortable format that does not vary by culture
                        S: "yyyy\u0027-\u0027MM\u0027-\u0027dd\u0027T\u0027HH\u0027:\u0027mm\u0027:\u0027ss",
                        // formatting of dates in MySQL DataBases
                        ISO: "yyyy-MM-dd hh:mm:ss",
                        ISO2: "yyyy-MM-dd HH:mm:ss",
                        d1: "dd.MM.yyyy",
                        d2: "dd-MM-yyyy",
                        d3: "dd-MMMM-yyyy",
                        d4: "dd-MM-yy",
                        d5: "H:mm",
                        d6: "HH:mm",
                        d7: "HH:mm tt",
                        d8: "dd/MMMM/yyyy",
                        d9: "MMMM-dd",
                        d10: "MM-dd",
                        d11: "MM-dd-yyyy"
                    },
                    percentsymbol: "%",
                    currencysymbol: "$",
                    currencysymbolposition: "before",
                    decimalseparator: '.',
                    thousandsseparator: ',',
                    pagergotopagestring: "Go to page:",
                    pagershowrowsstring: "Show rows:",
                    pagerrangestring: " of ",
                    pagerpreviousbuttonstring: "previous",
                    pagernextbuttonstring: "next",
                    pagerfirstbuttonstring: "first",
                    pagerlastbuttonstring: "last",
                    groupsheaderstring: "Drag a column and drop it here to group by that column",
                    sortascendingstring: "Sort Ascending",
                    sortdescendingstring: "Sort Descending",
                    sortremovestring: "Remove Sort",
                    groupbystring: "Group By this column",
                    groupremovestring: "Remove from groups",
                    filterclearstring: "Clear",
                    filterstring: "Filter",
                    filtershowrowstring: "Show rows where:",
                    filterorconditionstring: "Or",
                    filterandconditionstring: "And",
                    filterselectallstring: "(Select All)",
                    filterchoosestring: "Please Choose:",
                    filterstringcomparisonoperators: ['empty', 'not empty', 'enthalten', 'enthalten(match case)',
                       'does not contain', 'does not contain(match case)', 'starts with', 'starts with(match case)',
                       'ends with', 'ends with(match case)', 'equal', 'equal(match case)', 'null', 'not null'],
                    filternumericcomparisonoperators: ['equal', 'not equal', 'less than', 'less than or equal', 'greater than', 'greater than or equal', 'null', 'not null'],
                    filterdatecomparisonoperators: ['equal', 'not equal', 'less than', 'less than or equal', 'greater than', 'greater than or equal', 'null', 'not null'],
                    filterbooleancomparisonoperators: ['equal', 'not equal'],
                    validationstring: "Entered value is not valid",
                    emptydatastring: "No data to display",
                    filterselectstring: "Select Filter",
                    loadtext: "Loading...",
                    clearstring: "Clear",
                    todaystring: "Today"
                }
                break;
        }
        return localization;
    }

    Best Regards,
    Nadezhda

    jQWidgets team
    http://www.jqwidgets.com/

    Decimal séparator "," #61041

    valeriektv
    Participant

    Hello Nadezhda !
    Thanks You, My PB was the version of jqwidgets that I used, Before, I have the version 3.2.1 now I dowloaded version 3.5.0 and My scripts done correctly.
    Thanks You

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

You must be logged in to reply to this topic.