Localization doesn't work on the Field List

Resolved
Mantas asked on May 16, 2022

I have translated file. All translations work except "Fields" window. None of English values are translated there. Is this is not translatable on purpose?
 
I does not work in German from https://www.flexmonster.com/doc/localizing-component/ too.

Attachments:
lt-2007210202.json

Nadia Khodakivska created this ticket from #45953

3 answers

Public
Nadia Khodakivska Nadia Khodakivska Flexmonster May 17, 2022

Hello,

Thank you for reaching out to us.

We could not reproduce the described behavior. You are welcome to check the following JSFiddle: https://jsfiddle.net/flexmonster/kLa0b5xu/ . It seems that the localization is applied correctly to the whole component.
If you are still facing this problem, please edit the sample above to show us this issue.
Also, check whether you have defined localization correctly. To preset localization for all reports, set the localization property in the GlobalObject. Here is an example:

new Flexmonster({
    container: "pivotContainer",    
    global: {
        localization: "lt.json"
    },
    ...
}); 

Alternatively, if you want to specify different localization for a particular report, set the localization property in the report object:

new Flexmonster({
    container: "pivotContainer",
    report: {
        localization: "lt.json"
    },
    ...
}); 

Please let us know if it works for you. Feel free to contact us if other questions arise.

Kind regards,
Nadia

Public
Mantas May 17, 2022

Thank you - it works if I add it as global localization. If I add only local (report) - then translation from global (en) comes to rows/columns/filters/values, and translated fields (lt) everywhere else.

Public
Nadia Khodakivska Nadia Khodakivska Flexmonster May 17, 2022

Hello,

Thank you for the feedback.

We are glad to hear that it works for you.

As always, you are welcome to write to us in case further questions arise.

Kind regards,
Nadia

Please login or Register to Submit Answer