Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Converted translation system to Gettext #31

Open
wants to merge 25 commits into
base: master
Choose a base branch
from
Open

Conversation

eXpl0it3r
Copy link
Collaborator

Rebased from #20

There were some issues with the translations, e.g. changes in the English strings that the translators couldn't notice and didn't fix, and obsolete strings that wouldn't need translating anymore. Also adding, new strings was quite unwieldy.

So, I decided to try my hand at switching ths translation system over to Gettext. This has the additional advantage that translators can use all kinds of nifty translation tools.

There is quite a bit of string converting going on in this branch due to the ways that SFML handles strings. I can't initialize the SFML srings with a locale, because the desired locale might not be available on the system. So, toAnsiString is not usable...

This has been tested on Ubuntu and MinGW64.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants