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

missing translated labels in regions.rdf throws undefined on region-autocomplete in editor

Open pvgenuchten opened this issue 9 years ago • 3 comments

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.

pvgenuchten avatar Dec 09 '15 07:12 pvgenuchten

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.

fxprunayre avatar Dec 09 '15 08:12 fxprunayre

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.

jodygarnett avatar Feb 07 '24 23:02 jodygarnett

In GN 3.x it's still a problem. In GN 4 the autocomplete falls back to English.

How to reproduce.

  1. Switch the application language to other different of French or English.
  2. Create a new metadata and go to the editor.
  3. Go to the Bounding Box widget.
  4. Select Countries from the selector box (for me the selector is empty so I can't select anything there)
Captura de pantalla 2024-02-08 a las 9 25 28

juanluisrp avatar Feb 08 '24 08:02 juanluisrp