Page 1 of 1
Updated the Languages template
Posted: Tue Aug 26, 2014 9:21 pm
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
Re: Updated the Languages template
Posted: Thu Aug 28, 2014 9:25 pm
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!
Re: Updated the Languages template
Posted: Fri Aug 29, 2014 5:52 am
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
Re: Updated the Languages template
Posted: Fri Aug 29, 2014 6:36 am
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 ?
Re: Updated the Languages template
Posted: Fri Aug 29, 2014 8:09 pm
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.
Re: Updated the Languages template
Posted: Sun Aug 31, 2014 10:03 am
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?
Re: Updated the Languages template
Posted: Tue Sep 02, 2014 2:21 pm
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.
Re: Updated the Languages template
Posted: Wed Sep 03, 2014 10:25 pm
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?