wagtail-localize:Wagtail CMS的翻译插件

时间:2024-03-14 20:18:54
【文件属性】:

文件名称:wagtail-localize:Wagtail CMS的翻译插件

文件大小:385KB

文件格式:ZIP

更新时间:2024-03-14 20:18:54

Python

本地化 支持的版本: Python:3.7和3.8 Django:2.2、3.0和3.1 g:2.11 安装与设定 用pip安装: pip install wagtail-localize 设置修改 在settings/base.py wagtail_localize和wagtail_localize.locales添加到INSTALLED_APPS中: INSTALLED_APPS = [ ... " wagtail_localize ", "wagtail_localize.locales" , # Note: This replaces "wagtail.locales" ... ] 将以下内容添加到MIDDLEWARE : "django.middleware.locale.LocaleMiddleware" , 确保您的设置文件具有:


网友评论