如何在Django CMS管理中翻译应用程序名称? [英] How to translate the application name in Django CMS Admin?
本文介绍了如何在Django CMS管理中翻译应用程序名称?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何翻译Django CMS管理员中的应用程序名称?
How can I translate the application name in the Django CMS admin?
查看截图:
推荐答案
看看这个以前提到的问题关于Django国际化的类似主题。
Have a look at this previously asked question on the similar topic for internationalization in Django.
在内部,它使用 Model._meta.app_label
显示应用程序名称。检查管理员视图和其模板更多信息。
Internally, it uses Model._meta.app_label
to display the application name. Inspect admin view and its template for further information.
这篇关于如何在Django CMS管理中翻译应用程序名称?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文