We currently use the formatter url property ( https://www.wikidata.org/wiki/Property:P1630 ) to take an identifier and make a url based on the identifier. For example on https://www.wikidata.org/wiki/Property:P650 the formatter url is https://rkd.nl/explore/artists/$1 . The property is used on https://www.wikidata.org/wiki/Q150679 (Anthony van Dyck) with contents "25230" which results in the url https://rkd.nl/explore/artists/25230 .
Some websites offer their contents in multiple languages. In the example https://rkd.nl/nl/explore/artists/25230 gives Dutch and https://rkd.nl/en/explore/artists/25230 gives English. We currently already add formatter url's for these language specific urls', see https://www.wikidata.org/wiki/Property:P650 and https://w.wiki/Yuk returns 1500+ hits.
The interface should be showing the url in my language or otherwise fall back to the default formatter url. So if I browse https://www.wikidata.org/wiki/Q150679 (Anthony van Dyck)"
- In Dutch, I should get https://rkd.nl/nl/explore/artists/25230
- In English, I should get https://rkd.nl/en/explore/artists/25230
- In German (or any other language), I should get https://rkd.nl/explore/artists/25230
For bonus points (or can be forked in a new task). Have fallback for language variant to main language, so en-us/en-ca would fallback to "en" and would get https://rkd.nl/en/explore/artists/25230 . This probably makes things (much) more complicated so I'm happy if it's left out in the first version.