(10-19-2011, 03:09 PM)Evropi Wrote: I'd like to translate the game to Greek. I know this thread is somewhat old but it obviously hasn't been locked yet and it's definitely not too late to get the translation into 1.0!
This is despite the fact no Greek person will own a computer (or pants) by the time 1.0 is released thanks to socialists, haha.
Anyway, I'm one of the most active translators for Greek on translatewiki.net which translates open-source projects like FreeCol, Mediawiki (the software Wikipedia and stuff use, including all Wikia wikis) and OpenStreetMap among others. I've completed the translation for Open Images all by myself, though it rather disappointingly still only supports Dutch and English so many months later. In total, over 1500 strings translated by yours truly. And I want in.
Greek would be nice, and we already have support for Greek characters in our font, so that should work.
Are you familiar with gettext translating? I suppose you are, given your background. So I can keep it quite quick.
Let's start with translating the menu, that is the most important part. In-game messages are not completely translatable yet anyway.
The .po template is at:
http://git.xonotic.org/?p=xonotic/xonoti...ot;hb=HEAD
You rename this to menu.dat.el.po (el is the country symbol for greek) and edit with a text editor. Remember to keep the file in UTF-8 encoding. Your goal is to keep the msgid lines as is, and put the translated equivalent in the msgstr lines.
If you see %s like stuff, you need to keep it. If a string contains multiple such placeholders, you are normally not allowed to swap them. However, we support advanced syntax for such from C99's printf function.
Also, ^7 or the like need to be kept as is (they do coloring).
Example:
msgid "^1%s^7 ate ^2%d cookies^7."
msgstr "^2%2$d cookies^7 were eaten by ^1%1$s^7."
will translate
divVerent ate 42 cookies.
into
42 cookies were eaten by divVerent.
When you are done, you can test your translation by putting your menu.dat.el.po file into ~/.xonotic/data/menu.dat.el.po (basically, in the same directory as your config.cfg goes), then start the game and enter "prvm_language el; menu_restart" on the game console which you reach by pressing shift-escape.
BRLOGENSHFEGLE (core dumped)
The Bot Orchestra is back! | Xoylent Easter Egg | 5bots1piano
My music on Google Play and SoundCloud
The Bot Orchestra is back! | Xoylent Easter Egg | 5bots1piano
My music on Google Play and SoundCloud

