You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What you essentially want is GNU gettext but you'll need a custom translation function that automatically deducts the language since you're not using a single language for the entire application.
@div72
Using gettext means much more work at the beginning, the reason why I chose the way I handle translations now was because I wanted to keep things really really simple.
If gettext comes up with a perfect solution for #41, then I might think of using it honestly.
For this issue, writing a script to replicate what xgettext -o test.py should be rather easy (parse keys from decode() function calls (assuming every call is explicit)) and maintain a default language (either english or turkish) to fulfill at least one language and make it a guide for other translations.
If gettext comes up with a perfect solution for #41, then I might think of using it honestly.
There's no perfect solution as that issue is kinda irrelevant. You can use % (%s/%(keyword)s style) or str.format({} {0} {keyword} style) with both the current or the gettext backend.
To be sure that every translation is available in every languages.
The text was updated successfully, but these errors were encountered: