informed-governance-project / NISINP

Incident Notification Platform by @NC3-LU
https://nisinp.readthedocs.io
GNU Affero General Public License v3.0
6 stars 3 forks source link

Export does not support multiple languages #153

Closed tochinet closed 3 months ago

tochinet commented 4 months ago

Export function does not work as expected (in questions, questions categories, Question predefined answers, etc.)

Steps to reproduce the behavior:

  1. Login as RegulatorAdmin
  2. Select Administration
  3. Go to 'Questions'
  4. Select a language (EN/FR/NL in top bar, not the tabs! )
  5. Click on the 'Export' button
  6. Select csv format (or another one, .xlsx does the same
    • Note that the list of fields is given on that page (text only in English), and clearly no support for more than one label/tooltip etc.)
  7. Click "Save"
  8. Open the file
  9. Only the current language (with default to EN obviously) is in the file

Expected behavior All three languages should be exported in one action.

jerolomb commented 3 months ago

The export/import will be only in one language and you have to select the right language in dropdown list at the top of the application as you ve done.

It's to avoid to enter multiple link (e.g. sector for user) in a non convenient format and prevent updating wrong language.