Add i18n language options to CSV and XML exports from the clipboard
|Status:||In progress||Start date:||04/05/2018|
|Category:||-||Estimated time:||40.00 hours|
Recent testing has discovered that culture fallback is not a part of metadata exports. This means, for example, that French data created in a default-English site can not be exported: all that will come out are controlled fields (such as terms) that have source English terms. All free-text fields will be blank, unless English translations have been added. This makes it impossible for some i18n data to be exported in a multilingual site.
This feature request would add an export language option to the configuration settings for clipboard exports. Options to consider including:
- Export data in all languages (default)
- Select language of export data
The above could be implemented as a radio button selection, with all languages being the default. For option 1 (all languages), each version of the data (for example, FR source data, EN translation, ES translation) would be exported in its own row in the CSV. legacyID values would be the same, but culture values would be different. If this were imported into another AtoM instance, it should come in as a single description with multiple translations.
If option 2 is selected then a language selection menu would appear, populated by Symfony's language options. The easiest approach would be to allow users to only select one language at a time from this dropdown, though it may also be possible to allow for multi-selects.