Topic on Project:Village Pump

Make Template:See also translatable

8
MGChecker (talkcontribs)

I think Template:See also should be properly translatable. If I'm coming across this one while translating, I don't really know what to do with it.

Seb35 (talkcontribs)

It is already translatable, see for instance Manual:Coding_conventions/ja and search "関連項目:". When creating a page, you have to use: {{TNT|See also|...}} instead of {{See also|...}} to make it translated when the template has been translated (currently English, Hungarian, Japanese, German).

MGChecker (talkcontribs)

Wouldn't it be better to use Extension:Translate instead of maintaining a individual version for each language?

Seb35 (talkcontribs)

Yes, indeed. There is no major issue for the template itself, but there is the documentation pages in German and Japanese (see subpages). I don’t know if there are recommendations to do that.

I see that Template:Extension/fr/doc is a standalone (non-Tranlate) page, and it seems to be the case for most or all Category:Template documentation pages (a Translate documentation page would end with a language code and I see none in the category). Hence it could be done like that for our template. (I don’t have time as of now, will continue to see that later.)

Shirayuki (talkcontribs)

I have made the template translatable!

MGChecker (talkcontribs)

I think the actual problem because of which I mentioned this template here is that it's difficult to translate in practice, as label and target differ in practice in all languages except for Englisch. How are we supposed to handle this?

Shirayuki (talkcontribs)
MGChecker (talkcontribs)

Could we use this in See also if no Interwiki is provided? Is there any way to detect Interwiki links by Lua or something similar?

Reply to "Make Template:See also translatable"