core-geonetwork
core-geonetwork copied to clipboard
missing translated labels in regions.rdf throws undefined on region-autocomplete in editor
The current regions.rdf
only has english and french labels, why are the other language translations from previous version not migrated?
The main problem is that when you access the editor in a language for which no labels are available, the autocomplete is populated with "undefined", I would expect the autocomplete would fall back to english if no labels available in that language.
why are the other language translations from previous version not migrated?
Because we don't know the origin of the previous regions.rdf and was replaced by a new one based on Natural Earth dataset and SeaVox (see https://github.com/geonetwork/core-geonetwork/pull/1113) which does not contains all languages
The previous thesaurus can still be used.
You can also add more translation using the Talend Job processing Natural Earth dataset see https://github.com/talend-spatial/workspace-shapefile-to-skos
I would expect the autocomplete would fall back to english if no labels available in that language
That would be a good enhancement.
This appears be be a issue left over from GeoNetwork 2 - 3 migration, is it still a problem for GeoNetwork 4?
I would personally need step by step instructions for how to reproduce this error.
In GN 3.x it's still a problem. In GN 4 the autocomplete falls back to English.
How to reproduce.
- Switch the application language to other different of French or English.
- Create a new metadata and go to the editor.
- Go to the Bounding Box widget.
- Select Countries from the selector box (for me the selector is empty so I can't select anything there)