The PR modifies the translations section of the edit entry page:
Changes "All languages" terminology to "Fallback translations" (#458)
Adds an info alert if "en" (English) or "xx" (Fallback translations) is not the main language for an entry (#457)
Fixes the fact that the alert message about changing the display name of a language appears even if the language had no translations and we add the first one (#459)
Adds a "Show all existing translations" checkbox to see all the languages that currently have translations, with their translations
Adds a possibility to "pin" languages to select them (so they stay in local storage and appear at the top for each entry), and a possibility to hide (unselect) these languages easily (with an icon next to their title)
Modifies the selection of new languages: I removed the "number of languages shown" button that had to be clicked to add a language, and created a "Show another language" button at the bottom of the section. Also, the dialog is now an autocomplete instead of a select, and you just type the languages that you want to add and see languages that are not selected, instead of seeing all current languages and being able to remove them. The autocomplete with the options is also automatically focused when opening the dialog.
Adds vite-plugin-svgr to easily import svg files in React
What
The PR modifies the translations section of the edit entry page:
vite-plugin-svgr
to easily importsvg
files in ReactScreenshot
https://github.com/openfoodfacts/taxonomy-editor/assets/82757576/b9eadf88-1ade-467a-b947-536e9b8feac6
Part of