Category index for “i18n”
Tornado and pgettext
Recently (26.05.2015) new tornado 4.2 was released. It contains different updates, the most valuable i suppose are modules tornado.locks and tornado.queues. They migrated from package Toro, look detailed explanation in Jesse Jiryu Davis post.
Here i want to tell about another helpful function, that was added with my help - pgettext.
Tornado i18n and l10n
Let’s talk about i18n, i10n and tornado implementation. This post have a lot of text, but i wanted to describe many things that i faced during realization of i18n in tornado project. The step by step instruction is placed in the second part of this article.
Multilanguage site on django without redirects
Starting from django 1.4, it is possible to set url prefix for each activated language. For example, we want site, that will have russian and english version.
To do it, add following to
settings.py
: