You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now, we just take the first language available, but we could choose which language a bit smarter. We need to discuss which order it should be, though. Until we have a fully multilingual website, I suggest the following selection chain.
The language of the user's browser
English
Official language of the place the page is about
The first entry delivered by Wikidata
However, for 1. we need to do it dynamically, so perhaps we should just start with 2-4.
Why?
So that we serve the users more relevant links.
Examples and inspiration
On German Wikivoyage, they have Module:GetP856 to select language. They have this selection chain:
The language of the wiki
English
Official language of the place the article is about
The first entry delivered by Wikidata
So obviously, they have some logic to be inspired by.
The text was updated successfully, but these errors were encountered:
For most part we do try to first pick English then a local language (example).
The query that might need some tuning would be organization-optional.rq as it does not take the local language into account. We should fix that by making the language a query parameter:
Oh, yes. At least that is putting them in the conversation. I guess in some countries, the order might be debatable and contentious, but that is one step closer.
The feature
Right now, we just take the first language available, but we could choose which language a bit smarter. We need to discuss which order it should be, though. Until we have a fully multilingual website, I suggest the following selection chain.
However, for 1. we need to do it dynamically, so perhaps we should just start with 2-4.
Why?
So that we serve the users more relevant links.
Examples and inspiration
On German Wikivoyage, they have Module:GetP856 to select language. They have this selection chain:
So obviously, they have some logic to be inspired by.
The text was updated successfully, but these errors were encountered: