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

Add localization to the client (translations) #26

Open
marcusmoller opened this issue Sep 17, 2013 · 0 comments
Open

Add localization to the client (translations) #26

marcusmoller opened this issue Sep 17, 2013 · 0 comments

Comments

@marcusmoller
Copy link
Owner

I just recently added support for localizations using the gettext module from Python. See: ee6d690


I haven't finished making all the strings in the application into gettext-strings, so that should be done first of all.
This is done by simple adding the _( prefix and )suffix to strings.

An example: "This is a string in Python" becomes _("This is a string in Python!").

When all that is done, it's time to translate the strings into new languages.


I have added two tools for making it easier to create the .po files for translations.

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

No branches or pull requests

1 participant