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 English language show well. System default locale: zh_CN.UTF-8 My steps to enable it to show zh_CN language: 1. Modify following places in "/usr/local/lib/python2.7/dist-packages/ ReviewBoard-1.6.6-py2.7.egg/reviewboard/settings.py": (1) LANGUAGE_CODE = 'zh_CN' (2) USE_I18N = True LANGUAGES = ( ('zh', _('Chinese')), ) 2. Compile settings.py by a python script: import py_compile py_compile.compile(r'/usr/local/lib/python2.7/dist-packages/ ReviewBoard-1.6.6-py2.7.egg/reviewboard/settings.py') 3. Under /usr/local/lib/python2.7/dist-packages/ReviewBoard-1.6.6- py2.7.egg/reviewboard ,run: mkdir -p locale/zh_CN/LC_MESSAGES/ django-admin.py makemessages -l zh_CN Now we got django.po. 4. Fill out locale/zh_CN/LC_MESSAGES/django.po with my Chinese translation. 5. Under /usr/local/lib/python2.7/dist-packages/ReviewBoard-1.6.6- py2.7.egg/reviewboard ,run: django-admin.py compilemessages -l zh_CN Now we got django.mo. 6. Restart apatch2: apachectl -k restart 7. Refresh ReviewBoard portal. Unfortunately, Nothing happened :( Question 1: 1. Could you please point me what should I do with above steps? 2. I tried copying /usr/local/lib/python2.7/dist-packages/Sphinx-1.1.3- py2.7.egg/sphinx/locale/zh_CN/LC_MESSAGES/sphinx.mo to /usr/local/lib/python2.7/dist-packages/ReviewBoard-1.6.6-py2.7.egg/ reviewboard/locale/zh_CN/LC_MESSAGES/django.mo Then restart apache, now it works partly But after I refresh portal again, it went back to English.... Do you know why? Thank you very much ~~ -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~----------~----~----~----~------~----~------~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en