The Translate extension has a useful feature to add non-translated "variables" with the <tvar> syntax. However this doesn't seem to work when used for CentralNotice messages, instead the raw code is always displayed.
Description
Description
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Open | Feature | None | T34482 CentralNotice should respect language fallbacks | ||
Open | Feature | None | T38591 Use the Translate extension in CentralNotice (tracking) | ||
Open | None | T87448 Can't use Translate extension's variables feature in CentralNotice | |||
Open | None | T116235 [Epic] CentralNotice translation should move closer to MediaWiki i18n standards and the code cleaned up |
Event Timeline
Comment Actions
tvar is implemented only for translatable pages. See for example https://github.com/wikimedia/mediawiki-extensions-Translate/blob/master/tag/TPSection.php
Comment Actions
I wish we could have this for translated snippets! What do message authors currently do instead?