[[Template:Participate]]

Edited by author.
Last edit: 02:58, 22 August 2012

Where should I translate this template which is shown at the main page?

Helder17:54, 5 November 2009

Write http://strategy.wikimedia.org/wiki/Template:Participate/your_language_code (replace your_language_code with your language code)and then create that page.

Dafer4518:15, 5 November 2009
Edited by author.
Last edit: 02:59, 22 August 2012

Thanks!

I've created Template:Languages/Template:Participate and Template:Participate/pt-br. Could you confirm if is everything ok?

Helder19:33, 5 November 2009

The "Languages/Template:Participate" tag will make the translation bar appear on every side that uses the Participate template. So I think it is better to remove that tag. I guess that is why it does not appear on the English page. Removing it complicates translation of that page though. But otherwise it seems fine!

Dafer4508:08, 6 November 2009

I actually removed the tag, because it confused the rendering on the front page - it gave the front page two sets of languages templates, which didn't work well at all. I'm open to other ideas for how to render this. :)

~Philippe (WMF)08:31, 6 November 2009

I added and reinstated the Languages. Should be OK now.

HenkvD10:24, 6 November 2009

heh.... <noinclude>. You are wise, sir.

~Philippe (WMF)10:38, 6 November 2009
 
Edited by author.
Last edit: 03:01, 22 August 2012

I'm sorry about that... I really forgot to add the noinclude tgs... =S

Helder10:47, 6 November 2009

Nothing to be sorry about. That's the beauty of a wiki. :-)

~Philippe (WMF)10:49, 6 November 2009
Edited by author.
Last edit: 03:02, 22 August 2012

Thanks!

By the way, could we modify the main template in order not to be necessary to use the sufix "/language code" when calling the template? This should be feasible by adding something that checks {{SUBPAGENAME}} and if it is a language code, and there is a translation of the template in that language it will be loaded instead of the englih default... This sounds similar to what was made for {{Localized link}}, so maybe there is a general approach to do this for all templates wich are supposed to be translated... What do you think?

Helder11:02, 6 November 2009

I think it's wayyyy above my head. :-)

~Philippe (WMF)11:04, 6 November 2009
 

I have been looking how this is done at commons. It seems that {{int:Lang}} should display the lanuage of the userpreference, but it does not work here, nor did I find documentation about it. Over here it displays <Lang>, see {{int:Lang}} gives en.

HenkvD18:41, 6 November 2009
Edited by author.
Last edit: 03:02, 22 August 2012

Humm...

I think we need to create the messages "MediaWiki:Lang/xxx" as was made there, because that is not a default message... See commons:Commons:Administrators'_noticeboard/Archive_11#MediaWiki:Lang. The pages just contain the corresponding language code.

Helder19:05, 6 November 2009

Great, I will create them. Is would be better if was part of the translatewiki.net, and available for all projects.

HenkvD11:26, 7 November 2009

I just used it for Autotranslate the Template:welcome. It will display the text in your local language if available, or even in some fallback languages (Dutch for Afrikaans).

HenkvD13:15, 7 November 2009

Cool! =D

Helder13:48, 7 November 2009