Translation
Translating MyPaint
Translating Help MyPaint reach a more international audience by helping us translate it to your language. We use Weblate, a free web-based translation management system, to make it simpler for new translators to get started. :globe_with_meridians: Get translating: log in to Weblate, and start translating MyPaint. :rabbit: Go deeper: check out the list of issues labelled “translation”. MyPaint supports 30 languages at the time of writing. This excludes different spellings of English.
Maintaining Translations
Writing Localisable Python Localize any string presented to the user in the GUI. Always provide contexts for translators. We have a custom gettext module which you can import for translation functions that resemble the C gettext macros. For new code, please always provide contexts. The context string can be a str literal, and while we’re using Python 2.7 at least, it’s visually helpful to write unicode literals for the source string.