Closed Msch0150 closed 1 year ago
There needs to be a more specific XML attribute on the nuds:reference that designates the reference as a coin type rather than some other type of bibliographic resource linked by a URI.
If you insert a xlink:arcole
attribute into the nuds:reference with a value = nmo:hasTypeSeriesItem
, that will force Numishare to fetch the NUDS file by appending '.xml' to the URI, and then the displayed label should switch based on the language provided by the browser (or force it with a URL parameter).
See the XML at http://numismatics.org/collection/1952.123.131.xml for example.
That solved the problem. Thanks!
I have setup a cointype collection. The title of each cointype has an english and a german title. In the front end of the collection I can select the language and the title is displayed in the appropriate language. So that works quite fine. Example in the xml:
I have setup another "regular" collection which references to that cointype. But here the title is not displayed in the appropriate language. It seems to be fixed whith the value which is entered in the xml of the collection coin. I added some additional lines to get more data for the behaviour. Example:
Here the two upper examples work well (info: the content makes no sense). So when I change the language in the UI I do see the appropriate translation. On the other side the values do not change for the lower two examples. My assumption is that the system uses skos:prefLabel xml:lang="en" and skos:prefLabel xml:lang="de" to get the appropriate value. Both are visible in the RDF of http://myserver.domain/rct/id/legionary_denarius and I would expect the title "Lengionsdenar" when I select the language "German". This is the rdf output from the cointype "legionary_denarius":
Do you any idea, or does it work for nomisma.org values only?