jQWidgets Forums

jQuery UI Widgets Forums Grid Translation variables

This topic contains 3 replies, has 2 voices, and was last updated by  Hristo 5 years ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • Translation variables #111929

    diegoxavier
    Participant

    Hello people! I would like to know if there are translation variables for the labels:

    “Pivot Table Fields”, “Filters”, “Columns”, “Rows”, “Values” and “Average” in the jqxPivotDesigner component. I found it for the rest of the labels, but not for the ones mentioned above. Can someone help me?

    Translation variables #111941

    Hristo
    Participant

    Hello diegoxavier,

    You could try to use the classes for this and to overwrite them.
    Please, take a look at this example:

    var labelFields = $(".labelFields");
    labelFields.text("New Pivot Table Fields");

    Let me know if you have trouble with this or something else.

    Best Regards,
    Hristo Hristov

    jQWidgets team
    https://www.jqwidgets.com

    Translation variables #112030

    diegoxavier
    Participant

    Hello Hristo!

    I did it the way you said for the main labels. Thank you!

    The only class I didn’t find was for the ‘average’ label. I found other functions like:

    let location = {
             count: “”,
             sum: “”,
             min: “”,
             max: “”,
             product: “”,
             average: “average label translate”
    };

    But the only label that didn’t translate was ‘average’. If you know how to help me I would appreciate it!

    Translation variables #112039

    Hristo
    Participant

    Hello diegoxavier,

    You could try to use the custom function and just rename it with the desired name.
    In the text member in the wanted place.
    About the localization I would like to suggest you look at this example.
    Please, let me know if you have any other questions.

    Best Regards,
    Hristo Hristov

    jQWidgets team
    https://www.jqwidgets.com

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

You must be logged in to reply to this topic.