glest / glest-source

Glest is a network multi-player cross-platform 3D real-time strategy (RTS) game, where you create armies of units and battle different factions.
https://glest.io
GNU General Public License v3.0
58 stars 39 forks source link

translation method #57

Open andy5995 opened 6 years ago

andy5995 commented 6 years ago

I'm not sure sure yet what to do about translations. Something along the lines of keeping part of the current method for scenario translations, and using GNU gettext or tinygettext for translating output messages that are within the source code.

I have experience with GNU gettext, I added support to one of my C programs. And I understand there is a cmake extension that supports GNU gettext (The gettext docs only offer info about how to set up an autoconf and automake file).

But tinygettext might be a good alternative.. problem is that I don't see it has much documentation.. On the plus side, it seems to be used on some pretty popular projects, as mentioned in its README

Perhaps the developers would help us through initial implementation, if we needed it.

MegaGlest, the project from which this one was forked, used Transifex for the translations, apparently.

The pricing for Transifex is far too high for me to consider using it.

No matter what translation method we use, we will be relying purely on the generosity of the open source community and other contributors for the actual translations.

andy5995 commented 6 years ago

The pricing for Transifex is far too high for me to consider using it.

Transifex is free for FOSS projects from what I hear, and it's already the way ZG is translated.