Page MenuHomePhabricator

Translation issue on labeling Entityschemas
Open, Needs TriagePublic


When I want to enter label, description and aliases for an EntitySchema, like [] or [], the text in the box says 'Het label van het schema in het Engels.' Quit strange, as I am expected to enter these in Dutch resp. French.

The text in the three boxes should mention the right language.

Event Timeline

RonnieV created this task.Aug 15 2019, 7:42 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptAug 15 2019, 7:42 PM

Any clues where these texts are coming from would be appreciated. I might want to dive into it in order to get this fixed, but I got no clue where to start looking.

I tested it and it seems to be working fine for me. Can you double-check if it's still as you describe?

RonnieV added a comment.EditedAug 21 2019, 11:23 AM

Hi @Lydia_Pintscher , thanks for testing. I retested it. The problem remains the same, when my language preferences are set to Dutch (nl). [] then gives me 'You are setting label, description and aliases in Duits for Schema E105.' on top of the page, but 'Het label van het schema in het Engels' in grey in the box for the label.
The first sentence should be in Dutch, the second one should mention 'Duits' (instead of 'Engels').
When I switch to English or German as language, it seems to be working fine.

I got no clue where these texts come from, so I have no idea where to find a place to correct this.

Thank you!
Campers: Maybe you can investigate/provide additional info?

Restricted Application added a project: Wikidata. · View Herald TranscriptAug 21 2019, 11:26 AM

The translations are coming from translatewiki. The offending keys seem to be entityschema-label-edit-placeholder, entityschema-description-edit-placeholder, entityschema-aliases-edit-placeholder.

RonnieV added a comment.EditedAug 21 2019, 12:07 PM

Thank you both. Where can I find this translatewiki so I can put in a language reference, instead of the (hardcoded?) 'Engels'?
And which placeholder is for the introducing text ('You are setting label, description and aliases in <Language> for Schema <Entitynumber>')? That one is in English, should be translated (made available in Dutch too).