I want to multilingualize the field values shown in the flexmonster grid (the values contained in uniqueName).
https://www.flexmonster.com/doc/localizing-component/#ready-to-use-localizations
According to this document, the only way is to hard code from f/e (mapping.caption),
In the code below, multilingual processing is implemented without that.
https://jsfiddle.net/flexmonster/6mL42ew9/
I was wondering if it's really just hardcoding inside f/e "mapping.caption" , or is there any other way.
Hello,
Thank you for reaching out to us.
In the mentioned JSFiddle, when changing the localization, we also load a different data source (lines 55-58). Flexmonster is a tool for data visualization, and it is not intended to translate the passed data. Therefore, Flexmonster shows the data as configured in the data source. We recommend configuring the data localization by preprocessing the data before passing it to Flexmonster.
Also, you are correct that it is possible to change field names using the mapping.caption
property.
Please let us know if it works for you. Looking forward to hearing from you.
Kind regards,
Nadia