TemplateData: Translated InterfaceText items should be shown in user language
Closed, ResolvedPublic

Description

If we are really going to use this for documenting our templates, the table created by the extension must contain the description/label/... in the user language.

How to reproduce:
Switch you user language to German. Visit [[:commons:Special:Permalink/102040858]]

The following is included in the sandbox.
<templatedata>
{

"description": "English template description only.",
"params": {
    "1": {
        "description": {
            "de": "Deutscher Text.",
            "en": "English text."
        },
        "type": "string/wiki-page-name"
    }
},
"sets": []

}
</templatedata>
"English text." is shown as description of parameter 1.

Expected result:
"Deutscher Text."


Version: unspecified
Severity: normal

bzimport added projects: TemplateData, I18n.Via ConduitNov 22 2014, 1:50 AM
bzimport set Reference to bz52922.
Rillke created this task.Via LegacyAug 16 2013, 3:58 PM
gerritbot added a comment.Via ConduitOct 6 2013, 4:49 PM

Change 87724 had a related patch set uploaded by Krinkle:
Implement getIntefaceTextInLanguage and use API and Parser

https://gerrit.wikimedia.org/r/87724

gerritbot added a comment.Via ConduitOct 7 2013, 6:54 PM

Change 87724 merged by jenkins-bot:
Implement getInterfaceTextInLanguage and use API and Parser

https://gerrit.wikimedia.org/r/87724

Add Comment