Page MenuHomePhabricator

Translation issue on labeling Entityschemas
Closed, ResolvedPublic

Description

When I want to enter label, description and aliases for an EntitySchema, like [https://www.wikidata.org/wiki/Special:SetEntitySchemaLabelDescriptionAliases/E105/nl] or [https://www.wikidata.org/wiki/Special:SetEntitySchemaLabelDescriptionAliases/E105/fr], 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

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?

Hi @Lydia_Pintscher , thanks for testing. I retested it. The problem remains the same, when my language preferences are set to Dutch (nl). [https://www.wikidata.org/wiki/Special:SetEntitySchemaLabelDescriptionAliases/E105/de] 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?

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

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).

Addshore moved this task from Incoming to Blocked / Waiting / External on the Wikidata-Campsite board.
Addshore subscribed.

Thank you both. Where can I find this translatewiki so I can put in a language reference, instead of the (hardcoded?) 'Engels'?

https://translatewiki.net

For example

https://translatewiki.net/w/i.php?title=Special:Translate&group=ext-entityschema&language=fr&filter=&optional=1&action=translate

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).

setentityschemalabeldescriptionaliases-summary

You can find these names by using uselang=qqx on any page

eg https://www.wikidata.org/wiki/Special:SetEntitySchemaLabelDescriptionAliases/E105/nl?uselang=qqx

Nikki claimed this task.
Nikki subscribed.

It looks to have been fixed on translatewiki: https://translatewiki.net/w/i.php?diff=10316911