
internationality
kingmari
这个作者很懒,什么都没留下…
展开
-
django国际化——格式化字符串
The strings you pass to _() or ugettext() can take placeholders, specified with Python's standard named-string interpolation syntax. Example: def my_view(request, m, d): output = _('Today i原创 2012-08-23 17:32:24 · 597 阅读 · 0 评论 -
django国际化——加提示
Comments for translators New in Django 1.3: Please see the release notes If you would like to give translators hints about a translatable string, you can add a comment prefixed with the Translator原创 2012-08-23 17:40:52 · 463 阅读 · 0 评论