geonetwork / core-geonetwork

GeoNetwork is a catalog application to manage spatially referenced resources. It provides powerful metadata editing and search functions as well as an interactive web map viewer. It is currently used in numerous Spatial Data Infrastructure initiatives across the world.
http://geonetwork-opensource.org/
GNU General Public License v2.0
428 stars 489 forks source link

Metadata editor - Multilingual support in keyword widget #1614

Open josegar74 opened 8 years ago

josegar74 commented 8 years ago

The keyword widget doesn't seem to support multilingual. So if adding a term from GEMET - INSPIRE themes thesaurus to a multilingual metadata, translated values are not added.

Would be good to support this case.

For now, updating https://github.com/geonetwork/core-geonetwork/blob/develop/schemas/iso19139/src/main/plugin/iso19139/update-fixed-info.xsl to process the translations and add them should work, but requires specific code for each thesaurus.

fxprunayre commented 8 years ago

The keyword widget doesn't seem to support multilingual.

it does AFAIK. Tested http://apps.titellus.net/geonetwork/srv/eng/catalog.edit#/metadata/26182 Maybe you've some specific issue related to the record tested ?

fxprunayre commented 7 years ago

In fact, it does not work when the otherLocal ID is not a 2 letters code I think. Looking into it.

laers commented 3 years ago

In GN 4.0.5 I can not add another language in MD template and see the widget. Here is what I am trying to do:

The template includes this mdb:otherLocale where the multilingual is declared:

I would like to add "Kalaallisut; Greenlandic" to the template and according to ISO639-2 the 3 letters and 2 letters codes are kal and kl:

image

I add these into the template like this (in xml view mode):

But in the simple view mode the widget does not show "Kalaallisut" or "Greenlandic" as I expected - instead it only says "kal":

image