Remove translation for business data #1702
Locked
freddidierRTE
started this conversation in
Ideas
Replies: 1 comment
-
Will be delivered in release 3.0.0 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Today in opfab , we can have multi-lingual business data :
This means for summary and title of cards, i18n objects are stored and translation is done by the front-end. If one wants to make a feature for sorting or filtering bases on these fields in the archive or logging screen, it means implementing the translation mechanism in the back and translate the fields for each language in mongoDB to be able to index the values in all languages.
This implementation seems costly on complex and it seems nobody use or plan to use the business data translation feature in the future.
The idea is to remove this feature.
Furthermore this "not used feature" is not free to maintain in time and create unnecessary complexity for third-party
The idea is do all the necessary modifications in one release
It means :
Keeping a translation mechanism done by the back means calling the back when making a preview in user card to get the translate title and summary value , we shall add an endpoint to do this : /cardPreview ?
Migration of existing data : we shall provide a script to fill in the value in titleTranslated and summaryTranslated based an title and summary field and config.json of the processes.
Beta Was this translation helpful? Give feedback.
All reactions