Page MenuHomePhabricator

Support multilingual query templates
Closed, ResolvedPublic


To make sharing queries with other people even easier, it would be nice if it was possible to include several languages of the template text in a query template, and on display the best available language would be chosen based on the user’s language.

The JSON structure could be fairly simple – support an object { "en": "foo", "de": "fu" } instead of the direct text. (Of course, single-language templates must remain supported for backwards compatibility.)

Event Timeline

Change 408850 had a related patch set uploaded (by Lucas Werkmeister (WMDE); owner: Lucas Werkmeister (WMDE)):
[wikidata/query/gui@master] Support multiple languages in query templates

Change 408850 merged by jenkins-bot:
[wikidata/query/gui@master] Support multiple languages in query templates

Jonas moved this task from Backlog to Done on the Wikidata Query UI board.

This is deployed on now, see this query for an example.