Data translate

Answered
Namig Abdukarimov asked on April 9, 2019

Hi.
We want to use your pivot grids. But we have a problem. There are some e-nums or types in our back-end data. We show these enums or type in the language that the user uses. How can we do this on your system?

3 answers

Public
Tanya Gryshko Tanya Gryshko Flexmonster April 9, 2019

Hello, Namig,

Thank you for writing to us.

Flexmonster component provides an easy way to localize the pivot table. Integration developers can easily switch between different languages. Please have a look at this demo where data and labels are translated: https://www.flexmonster.com/demos/js/localization/.

Also, here is our localization tutorial: https://www.flexmonster.com/doc/localizing-component/.

Please let us know in case of any further questions.

Regards,
Tanya

Public
Namig Abdukarimov April 9, 2019

Example. I used data : [ { id: 1, type: 'PURCHASE'}, {id: 2, type: 'INVOICE'}];
I need show this type value for localization, in Turkish : Irsaliye, Fatura in English Purchase, Invoice in Russian: Покупка, Счет-фактура

Public
Dmytro Zvazhii Dmytro Zvazhii Flexmonster April 10, 2019

Hello Namig,
Thank you for providing us with the data sample.
In case you need to localize the column names, we recommend defining the set of metaobjects with the appropriate column captions. Please refer to our docs for more information: https://www.flexmonster.com/doc/managing-data-presentation-json. The meta object allows defining data types and captions. With the help of it, you can achieve the necessary result.
Please let us know if you need any other assistance.
Regards,
Dmytro

Please login or Register to Submit Answer