Copy the translations of form (2.0) from one version to the next version in implementer-interface

Feature available from Bahmni-V0.93


As a user,
we want to see our previous version translations to the next version of a form2.0 form.
So that we don't need to write all our translations again in the new version

When a user clicks on translations in the form builder, he will be directed to adding translations page, where he can be able to add his translations to the respective concepts. Now, any time if I click on a new version of a form, the translations will be empty. I should be able to see my previous versions of translations on that page. This will be useful, the user can be able to reuse his previous versions of translations in his current version.

  1. Translations from the last version should be copied to the next version in the UI

  2. User can edit the translation from UI where required

  3. New translations will be copied to the next version

  4. Translations, when imported, should be copied in the translations files - currently, they are in draft mode when imported and on publishing, the translation files are lost

Implementation notes:

  • If we are creating a new form, the translation file will be generated for that first version.

  • while you are editing a published version, it will create a new next version of that form, currently in which the published translations are getting lost and fresh translations file is created.

  • We implement in a way that while clicking on edit for published we are storing that published version as a reference version, which will be used to fetch the reference version translations and copy to the newly created version translation file.

Openmrs Talk link:

The Bahmni documentation is licensed under Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0)