Topic on Talk:Talk pages project/Feature summary

Translation of “New Discussion features” on this page

12
Summary by Lilitha Sqokwana

i fixed it successfully

Matěj Orlický (talkcontribs)

Unable to translate the last lines of this page. I wasn't successful in changing the source code of the page.

Matěj Orlický (talkcontribs)
Whatamidoing (WMF) (talkcontribs)

@Matěj Orlický, I've marked that for translation, and added another section. Please let me know if you run into any problems with it.

Matěj Orlický (talkcontribs)

@Whatamidoing (WMF) Thank you for your help. I'm getting to understand the process of modifying a page and then marking it for translation by a translation administrator. Please may you have a look on Phabricator as well, there is a Note box that cannot be translated.

Whatamidoing (WMF) (talkcontribs)
Tacsipacsi (talkcontribs)

It was that unnamed parameter 1 was defined twice (once with implicit name—|Info—and once with an explicit one—|1='''<translate>Phabricator is…).

However, {{TNT}} is usually no longer needed—since March, the Translate extension is able to do {{TNT}}’s job in most cases, just a translation administrator needs to turn on “translation-aware transclusion” when marking the template for translation.

Matěj Orlický (talkcontribs)

@Shirayuki replaced the note with a new Template:PhabricatorNote (good idea), but removed the translation markup. So now I need to translate this template and again not sure about the right way to do it.

Whatamidoing (WMF) (talkcontribs)
Matěj Orlický (talkcontribs)
Tacsipacsi (talkcontribs)

@Matěj Orlický: I see Czech text on Phabricator/Help/cs as well, probably it was a cache issue.

@Whatamidoing (WMF): Most templates on mediawiki.org depend on the page language and only the page language. This ensures that readers get the same, consistent (everything is either in the page language, or in English) experience whatever UI language they use. If templates used the UI language, logged-out readers would always get English. (By the way, using UI language would also mean that the cache needed to be split in multiple parts, potentially causing a linear growth in cache size.)

Matěj Orlický (talkcontribs)
Tacsipacsi (talkcontribs)