Topic on Template talk:SkinInstall/Flow

Kghbln (talkcontribs)
<translate><!--T:1--> <tvar name=1>{{{download-link}}}</tvar> and place the file(s) in a directory called <tvar name=name><code>{{trim| {{{1|{{ROOTPAGENAME}}}}} }}</code></tvar> in your <tvar name=ext><code>skins/</code></tvar> folder.</translate>

The variable 1 gets replaced with the word "Download" with no way to change. Thus, I cannot translate this unit into something meaningful at all, at least if we are talking about translating it into German.

Kghbln (talkcontribs)

@Shirayuki: Can you help here. What is needed is a label for the link.

Shirayuki (talkcontribs)

If an option is added to {{DownloadGitSnapshot}} to output only URL without link text, wouldn't it make it possible to translate the link text in {{SkinInstall}}?

Ciencia Al Poder (talkcontribs)

If {{DownloadGitSnapshot}} is not used other than as an input for (Extension|Skin)Install, it can be modified to output only the URL in all cases. Otherwise maybe create another template that generates only the URL and then make {{DownloadGitSnapshot}} use that new template, and use the new template as input for (Extension|Skin)Install.

There may be more related templates, though. And also, cases where the [(url) Download] pattern is used as input for (Extension|Skin)Install directly on the page, without using another template.

Ideally a bot should replace all of them, and repurpose this parameter to accept only an URL. But that requires a due diligence first to check for possible templates to modify or create, like the DownloadGitSnapshot

Shirayuki (talkcontribs)

In Extension:Secure HTML, {{DownloadGitSnapshot}} is used other than as an input for (Extension|Skin)Install. It appears to be the only usage within the Extension namespace.

Ciencia Al Poder (talkcontribs)

But it's used on the {{Extension}} template and not on {{ExtensionInstall}}. In an hypothetic change by a bot, the bot should not change this one, for example

Shirayuki (talkcontribs)

I think it would be better to unify the link text within "download-link" to "Download", but it seems some people also want to change it to "Download, extract". Special:Diff/6344142

Ciencia Al Poder (talkcontribs)

Then maybe the solution is do nothing.

The skin or extension page should be made translatable, and that bit of text will be inside a translation unit that can be translated.

Kghbln (talkcontribs)

Either we have a solution here or mark his template as untranslatable. It will be a shame, but having defaced translations is worse.

Ciencia Al Poder (talkcontribs)

@Kghbln where are you finding this untranslatable word? I mean the exact page.

Kghbln (talkcontribs)
Ciencia Al Poder (talkcontribs)
Kghbln (talkcontribs)

Ah, this was too easy. I figured some template voodoo was required to help the cause. Thanks a lot.