Thank you Po-Chien!
我发现zh_CN也可以。
我之前的错误在于:
我翻译了mo里面的某一句话,并找到显示那句话的页面,结果发现编译后那就话的页面仍然是英文。
后来我才发现原因所在:我找到显示那句话的页面错了
非常感谢您的帮助!
BR/Brant.
2012/5/21 Po-Chien Lin li...@cs.nctu.edu.tw
Oh,
I forgot that ``LANGUAGES'' item need also be modified to be the same with
your ``LANGUAGE_CODE''
Hi Brant,
The LANGUAGE_CODE should be in the form: (It is also mentioned in
settings.py)
http://www.w3.org/TR/REC-html40/struct/dirlang.html#h-8.1.1
In your case, I think it should be:
LANGUAGE_CODE = 'zh-cn'
Try it, Good luck :)
- linpc
Brant於 2012年5月17日星期四UTC+8下午3時11分20秒寫道:
Could
Oh,
I forgot that ``LANGUAGES'' item need also be modified to be the same with
your ``LANGUAGE_CODE'' setting
LANGUAGE_CODE = 'zh-cn'
USE_I18N = True
LANGUAGES = (
('zh-cn', _('Chinese')),
)
-linpc
Po-Chien Lin於 2012年5月21日星期一UTC+8下午3時45分35秒寫道:
Hi Brant,
The
Oh,
I forgot that ``LANGUAGES'' item need also be modified to be the same with
your ``LANGUAGE_CODE'' setting
LANGUAGE_CODE = 'zh-cn'
USE_I18N = True
LANGUAGES = (
('zh-cn', _('Chinese')),
)
But keep your django.po file under ``locale/zh_CN/LC_MESSAGES/'' as you
already
Could anyone please check the steps to enable reviewboard to display
other language?
Could anyone please check my steps to enable reviewboard to display
other language?
It doesn't work.
Thank you in advanced.
Environment:
Ubuntu 12.04 LTS
python 2.7
ReviewBoard: 1.6.6
Installed by easy_install