Django Book 翻译
菜单>:
TOC
返回
原文:
Note that, with static (i.e. without middleware) translation, the language is in ``settings.LANGUAGE_CODE`` , while with dynamic (middleware) translation, its in ``request.LANGUAGE_CODE`` .
翻译:
注意,静态翻译(即不经过中间件)中的语言设置是在 ``settings.LANGUAGE_CODE`` 中的,而动态翻译(即使用了中间件)的语言设置实在 ``request.LANGUAGE_CODE`` 。
备注:
译者: