安装babel重启tarc后用中文浏览器就可显示中文页面,或者在tarc登陆后点击个人设置》语言。
AttributeError: NullTranslationsBabel instance has no attribute 'isactive'
AttributeError: 'NullTranslations' object has no attribute 'add'.
显示上面错误是babel的版本跟trac不兼容。
换成低版本顺利解决
pip install babel==0.9.6