![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
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 · 577 阅读 · 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 · 440 阅读 · 0 评论