Page MenuHomePhabricator

language fallback for the property parser function
Closed, ResolvedPublic


When a label is not available in the language of the wiki that uses the property parser function a fallback should be applied. The label in an appropriate other language should be shown.

Event Timeline

Lydia_Pintscher raised the priority of this task from to Medium.
Lydia_Pintscher updated the task description. (Show Details)
Lydia_Pintscher changed Security from none to None.
Lydia_Pintscher added a subscriber: Lydia_Pintscher.

this is already done for variants. beyond that, it might get a bit weird and not quite as feasible in terms of caching.

languages like en-gb are not used as a content language anywhere afaik so wouldn't have the issue in those cases. there are 'languages' like simple english, in which case i think fallback should not apply unless the community explicitly decides they want such thing as some wiki-wide setting.

daniel claimed this task.
daniel added a subscriber: daniel.

As far as I can tell, language fallback is now applied by the parser function, see PropertyClaimsRendererFactory