Abbey Games has a new community and forums! Come on over to https://community.abbeygames.com and don't forget to mention your old username! The old forums will remain available, but read-only.

Wiki translation

Deutsch, Français, Português - Please note: the non-English forums are not actively maintained
User avatar
Maarten
Posts: 173
Joined: Wed Nov 28, 2012 11:16 am

Re: Wiki translation

Post by Maarten » Thu May 30, 2013 3:14 pm

I think we should use very strict naming conventions for the article pages, like this:

Code: Select all

Rabbit
Rabbit/de
Rabbit/fr
instead of

Code: Select all

Rabbit
Kanin
Lapin
I believe this also allows for better automated linking and such.

The TF2-wiki mentions that there is a tag for overriding a page title.
wiki.teamfortress.com wrote: Use {{DISPLAYTITLE:abcxyz}} to show a translated title.
For example: {{DISPLAYTITLE:Flammenwerfer}} would show the title "Flammenwerfer" while keeping the real article title as "Flamethrower/de".
The display title can also be set by the infobox (see below).
But I'm not yet sure whether that's a standard MediaWiki functionality.

User avatar
LFist
Posts: 17
Joined: Wed May 29, 2013 10:42 pm

Re: Wiki translation

Post by LFist » Thu May 30, 2013 3:18 pm

Okay, let's do it this way.

And FYI: this isn't a standard functionality, but I think we can use my page linking badges as mentioned before to link the pages and make a multilanguage wiki.

I've changed all existing pages, so we can start translating English pages in different languages.

User avatar
Touriste
Posts: 626
Joined: Mon May 20, 2013 2:20 am
Location: France, Ile de France

Re: Wiki translation

Post by Touriste » Thu May 30, 2013 9:34 pm

Is it possible to have the same language access that the one of wikipedia, choosing the language by the side and then every pages will be /fr /de /pt ?

User avatar
LFist
Posts: 17
Joined: Wed May 29, 2013 10:42 pm

Re: Wiki translation

Post by LFist » Thu May 30, 2013 9:58 pm

No, this isn't possible, because this way would need one MediaWiki installation and one MySQL database PER language as mentioned before.

User avatar
Touriste
Posts: 626
Joined: Mon May 20, 2013 2:20 am
Location: France, Ile de France

Re: Wiki translation

Post by Touriste » Thu May 30, 2013 10:12 pm

I see, so we can maybe customize every foreign pages with a "return to main page" in the language needed

User avatar
LFist
Posts: 17
Joined: Wed May 29, 2013 10:42 pm

Re: Wiki translation

Post by LFist » Thu May 30, 2013 10:20 pm

I've added badges to make this possible. I posted it on Reus:Translation page too:

Code: Select all

German: {{GerTransAvail|NAME_OF_TRANSLATED_PAGE|SHOWN_NAME_OF_TRANSLATED_PAGE}}
English: {{EngTransAvail|NAME_OF_TRANSLATED_PAGE|SHOWN_NAME_OF_TRANSLATED_PAGE}}
French: {{FreTransAvail|NAME_OF_TRANSLATED_PAGE|SHOWN_NAME_OF_TRANSLATED_PAGE}}
Portuguese: {{PorTransAvail|NAME_OF_TRANSLATED_PAGE|SHOWN_NAME_OF_TRANSLATED_PAGE}}
For example you create Projects/fr.
There you add {{EngTransAvail|Projects|Projects}} and {{GerTransAvail|Projects/de|Projekte}}

It's NAME OF TEMPLATE/NAME OF PAGE WITHIN THE WIKI/NAME ACTUALLY SHOWN ON PAGE

User avatar
Touriste
Posts: 626
Joined: Mon May 20, 2013 2:20 am
Location: France, Ile de France

Re: Wiki translation

Post by Touriste » Thu May 30, 2013 10:38 pm

Thanks :)

User avatar
Maarten
Posts: 173
Joined: Wed Nov 28, 2012 11:16 am

Re: Wiki translation

Post by Maarten » Fri May 31, 2013 10:02 am

Nice job!

User avatar
Touriste
Posts: 626
Joined: Mon May 20, 2013 2:20 am
Location: France, Ile de France

Re: Wiki translation

Post by Touriste » Fri May 31, 2013 12:17 pm

Maybe we can add it at the end of every pages because it messes up with images sometimes (in biomes for example)
If you can create a "go to bottom of page" as an arrow pointing toward the bottom of the page
And I was thinking about badges like that :
Sans titre.jpg
New badge (?)

User avatar
LFist
Posts: 17
Joined: Wed May 29, 2013 10:42 pm

Re: Wiki translation

Post by LFist » Fri May 31, 2013 12:37 pm

This is possible, but I think it would be really annoying to scroll down every time you want to use the links.
Additionally badges on top of a page are far more obvious.

Post Reply