The editor placeholder text
(Input a SPARQL query or choose a query example)
is not translated. The wdqs-app-editor-placeholder message is defined and translated, and attached to the editor in
<textarea class="queryEditor" name="query" data-i18n="[placeholder]wdqs-app-editor-placeholder" placeholder="(Input a SPARQL query or choose a query example)"></textarea>
but jQuery.i18n doesn’t seem to replace it (editing the placeholder attribute directly changes the text, editing the message in i18n/en.json doesn’t).
Current status: we have a mostly working workaround for this. Still to do:
- update the placeholder as soon as $.i18n is done with loading translations, instead of a fixed timeout
- update the placeholder when the user interface language is changed