core-geonetwork
core-geonetwork copied to clipboard
Translations in admin UI do not update from JSON
Describe the bug When manually editing the translations in the admin UI, pasting and saving JSON does not actually store the translations.
To Reproduce Steps to reproduce the behavior:
- Go to
.../srv/eng/admin.console#/settings/languages - Click JSON mode to view the current translations
- Copy the entire JSON and add a couple of new objects to the array
- Paste the JSON and click
Save all translations - GeoNetwork confirms that the Save was successful
- Go to Table mode and confirm that the added translations are there
- Navigate anywhere else and return to the translation page (forced refresh would probably also work) and notice that the added translations are missing
Expected behavior The translations are properly saved/persisted in the backend.
Desktop:
- Windows 11
- Microsoft Edge (Chromium) Version 141.0.3537.99 (Official build) (64-bit)
- GeoNetwork 4.x (observed in multiple versions)