core-geonetwork icon indicating copy to clipboard operation
core-geonetwork copied to clipboard

Translations in admin UI do not update from JSON

Open GeoSander opened this issue 2 months ago • 0 comments

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:

  1. Go to .../srv/eng/admin.console#/settings/languages
  2. Click JSON mode to view the current translations
  3. Copy the entire JSON and add a couple of new objects to the array
  4. Paste the JSON and click Save all translations
  5. GeoNetwork confirms that the Save was successful
  6. Go to Table mode and confirm that the added translations are there
  7. 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)

GeoSander avatar Oct 27 '25 16:10 GeoSander