Updated the Languages template

Anything related to the content on our wiki (https://wiki.factorio.com/)

Moderator: Bilka

TheWombatGuru
Long Handed Inserter
Long Handed Inserter
Posts: 57
Joined: Tue Jul 08, 2014 10:01 am
Contact:

Updated the Languages template

Post by TheWombatGuru »

Hi guys, I updated the languages template on the Factorio wiki: https://forums.factorio.com/wiki/inde ... :Languages
You can now simply add {{Languages}} to the top of a page, and the template will automatically detect in what other languages the specific page is available and list it like before, this way, a language will never be missed. I hope you like it :)

Please give feed back on code duplication and stuff

TheWombatGuru
Vitduo
Fast Inserter
Fast Inserter
Posts: 182
Joined: Sun Nov 17, 2013 7:28 pm
Contact:

Re: Updated the Languages template

Post by Vitduo »

Nice work, guy! Now it looks more simple then before.
I was thinking about "Languages:" at the template and in other pages. And it looks... Strange. Wall of Czech/German/Portuguese/Ukrainian/etc text and... "Language"? Wtf? So I have two ideas: delete the inscription from the template OR make a script that change the inscription to the local name of term "language".
But its only my thoughts.
Anyway, its a good work!
TheWombatGuru
Long Handed Inserter
Long Handed Inserter
Posts: 57
Joined: Tue Jul 08, 2014 10:01 am
Contact:

Re: Updated the Languages template

Post by TheWombatGuru »

I have replaced "Languages:" with "In other languages:" and will add translations depending on the suffix of the page name, for pages ending with "/nl" (Dutch) it will say "In andere talen:"

Do you know the correct translation for "In other languages:" in one of the languages used on the wiki? Please add it to the template yourself or post it here if you don't know how.

TheWombatGuru
User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12889
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: Updated the Languages template

Post by ssilk »

why not removing the text at all? I mean: what else could it be, who will not understand?

Or how to make it so: http://de2.php.net/migration56.new-features ?
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
TheWombatGuru
Long Handed Inserter
Long Handed Inserter
Posts: 57
Joined: Tue Jul 08, 2014 10:01 am
Contact:

Re: Updated the Languages template

Post by TheWombatGuru »

I think most people will understand, but it looks nicer in my opinion, about the PHP page, I don't know what you want me to do.
User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12889
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: Updated the Languages template

Post by ssilk »

Hehe, seems so, that I've been disturbed while posting. Sorry. ;)

I thought about this "other language"-option, which leads you to a page, where everything about translations is explained.

How about an "international flag", which does exactly that? https://www.google.de/search?q=international+flag
Should spare you this long "text"? Or do you mean, this text is needed to understand, what it means?
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
TheWombatGuru
Long Handed Inserter
Long Handed Inserter
Posts: 57
Joined: Tue Jul 08, 2014 10:01 am
Contact:

Re: Updated the Languages template

Post by TheWombatGuru »

We could add something like that, but there doesn't seem to be an international flag recognized by many. I do think people will understand without the: "In other languagues", but I think it just looks better than only having flags.
User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12889
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: Updated the Languages template

Post by ssilk »

How about making "In other languages" a link? And the linked page contains translators. Cause when I think about it again I think, that information should not be deleted completely. And maybe others also want to be mentioned?
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...
Post Reply

Return to “Wiki Talk”