mmatyas / openblok

A customizable, cross platform, open-source falling block game, packed with a bunch of features.
GNU General Public License v3.0
99 stars 15 forks source link

Localisation Support #38

Closed SkoricIT closed 3 years ago

SkoricIT commented 3 years ago

Is there any possibility to include localisation support? I would love to give this to my German speaking uncle who uses windows.

Also, I would love to contribute that feature, but would like to know how you would prefer this to be implemented.

mmatyas commented 3 years ago

Hi, at the moment all texts are part of the source code, but it could be possible to implement such feature. I heard good things about GNU Gettext for example, maybe it could be set up for this project too.

On the other hand, there's not that much text outside the settings menu, and that too mainly consists of terms like "Ultra", "T-Spin", etc. If you just wish to teach the usage of the game, perhaps some translated screenshots might work? Of course, if you'd like to work on this, contributions are welcome!

SkoricIT commented 3 years ago

I have implemented the functionality and have created pull request #39 Build seems to be failing, maybe you need to add gettext to the build environment configuration?

mmatyas commented 3 years ago

Closed by #39 and #43.