Page MenuHomePhabricator

TemplateData deprecated parameter guidance should be translatable
Open, Needs TriagePublic

Description

Parameter deprecation messages will appear in the interface, so should be translated into the same languages as the template description. Currently, we only support a string in the default language.

See T238411: Structured localization framework for templates.

Event Timeline

awight created this task.Sep 10 2020, 11:26 AM
Restricted Application added a project: VisualEditor. · View Herald TranscriptSep 10 2020, 11:26 AM
Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Fixing might be as simple as adding allowLanguages to the property descriptor.

JTannerWMF moved this task from To Triage to Triaged on the VisualEditor board.Sep 10 2020, 4:11 PM
JTannerWMF added a subscriber: JTannerWMF.

Good catch @awight , are you planning to work on this in your efforts to improve templates in the VisualEditor?

Good catch @awight , are you planning to work on this in your efforts to improve templates in the VisualEditor?

I'm not sure yet--it's helpful to know that you agree this should be a feature, but prioritizing the work is a separate question. We'll respond here once we can answer!