Open pvgenuchten opened 3 years ago
Seems for german the default title is duplicated, but for swedish it is not For french it also is duplicated, but then the ui picks the proper one
Hi! Please note that the Swedish UI is brand new, and under revision. While all angular strings are translated, errors and inconsistensies have been discovered. I am working on those. But there are tons of files, not on Transifex to be translated. ISO schemas for one.
Hälsning / Regards Mats.E
Skickat från min / Sent from my iPad, Ursäkta att jag är kortfattad / Excuse my brevity.
17 mars 2021 kl. 10:50 skrev paul van genuchten @.***>:
Seems for german the default title is duplicated, but for swedish it is not For french it also is duplicated, but then the ui picks the proper one
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
The code rendering this it's
In German, in the search result the title element is a vector:
title: [,…]
0: "Copy of template De plantilla para el vector de datos en ISO19139 (multilingüe) created at 2021-03-17T09:33:12Z"
1: "Copy of template De plantilla para el vector de datos en ISO19139 (multilingüe) created at 2021-03-17T09:33:12Z"
while for other languages has only 1 value:
title: "Copy of template Template for Vector data in ISO19139 (multilingual) created at 2021-03-17T09:33:12Z"
It's really bizarre this difference, as the metadata has no German. Seem also happening in other UI languages not defined in the metadata like Chinese or Russian. But others like Italian or Swedish work fine. Not clear the pattern yet.
For some reason, this code:
For certain UI languages it's returning the document in English (main metadata language) and works fine, but for others like German the document corresponds to the Spanish document and has the _title
field duplicated, causing this.
This happens in version 3.11.Snapshot Create multilingual record (fre, eng, ger) Remove german as language Go to basic view, switch to german -> duplicated title Switch to Swedish -> no duplicated title Switch to french -> no duplicate title 607fba6c-72c2-4946-b267-4da8eb3b3136.xml.zip