#30: Translations (i18n) ------------------------+-------------------------- Reporter: abompard | Owner: Type: enhancement | Status: new Priority: major | Milestone: Beta version Version: | Keywords: ------------------------+-------------------------- First, the strings in the python code, in the templates and in Javascript code should be marked for translations.
Django reference : https://docs.djangoproject.com/en/1.4/topics/i18n/
Then, we'll be able to translate the strings. Consider using [https://www.transifex.com/ Transifex].
#30: Translations (i18n) ------------------------+--------------------------- Reporter: abompard | Owner: Type: enhancement | Status: new Priority: major | Milestone: Beta version Version: | Resolution: Keywords: | ------------------------+---------------------------
Comment (by sumanah):
In the documentation at https://docs.djangoproject.com/en/1.4/topics/i18n/translation/#std :templatetag-trans I see one way we could mark strings for translation: replacing stuff like
{{{ this is a string }}}
with
{{{
{% trans "this is a string" %} }}}
This is also how Postorius does it, per https://bugs.launchpad.net/postorius/+bug/1157947 . If this would be an acceptable first step, abompard, then I can go ahead and templatize a bunch of strings in the !HyperKitty codebase. And then we can use something like Transifex or Translatewiki to actually get those messages translated.
#30: Translations (i18n) ------------------------+--------------------------- Reporter: abompard | Owner: Type: enhancement | Status: new Priority: major | Milestone: Beta version Version: | Resolution: Keywords: | ------------------------+---------------------------
Comment (by abompard):
Yes, this improvement would be very welcome, thanks !
#30: Translations (i18n) ------------------------+--------------------------- Reporter: abompard | Owner: sumanah Type: enhancement | Status: assigned Priority: major | Milestone: Beta version Version: | Resolution: Keywords: | ------------------------+--------------------------- Changes (by sumanah):
* status: new => assigned * owner: => sumanah
Comment:
OK, I'll start doing this, and will make pull requests on GitHub.
#30: Translations (i18n) ------------------------+--------------------------- Reporter: abompard | Owner: abompard Type: enhancement | Status: assigned Priority: major | Milestone: Beta version Version: | Resolution: Keywords: | ------------------------+--------------------------- Changes (by sumanah):
* owner: sumanah => abompard
Comment:
The pull request for the Python code [https://github.com/hyperkitty/hyperkitty/pull/28 is now ready for merging] on !GitHub. I was not certain whether I could use the exact same syntax with the !JavaScript code so some JS remains hardcoded.
#30: Translations (i18n) ------------------------+--------------------------- Reporter: abompard | Owner: abompard Type: enhancement | Status: assigned Priority: major | Milestone: Beta version Version: | Resolution: Keywords: | ------------------------+--------------------------- Changes (by raven):
* cc: raven@… (added)
#30: Translations (i18n) ------------------------+----------------------- Reporter: abompard | Owner: abompard Type: enhancement | Status: assigned Priority: major | Milestone: 1.1 Version: | Resolution: Keywords: | ------------------------+----------------------- Changes (by sumanah):
* milestone: Beta version => 1.1
hyperkitty-devel@lists.fedorahosted.org