agoat / contao-languagerelation
Contao 4 语言关系
1.0.0-beta3
2018-04-24 11:20 UTC
Requires
- php: ^7.0
- contao/core-bundle: ^4.4.5
- symfony/framework-bundle: ~2.8|~3.0
Requires (Dev)
- phpunit/phpunit: ~4.5
Suggests
- agoat/contao-permalink: Clear and easy url handling for multilingual pages
This package is not auto-updated.
Last update: 2024-09-17 23:35:26 UTC
README
关于
轻松管理不同语言。Contao 本身已具备管理多语言页面的能力。这是通过为每种语言创建单独的页面树来实现的。
此扩展添加了单页缺少的语言关系。这使得在多种语言中管理页面变得容易。当然,也有一个用于前端的语言导航模块。
安装
Contao 管理器
搜索包并安装
agoat/contao-languagerelation
管理版
添加包
# Using the composer
composer require agoat/contao-languagerelation
注册和配置由管理插件自动完成。
标准版
添加包
# Using the composer
composer require agoat/contao-languagerelation
在 AppKernel 中注册捆绑包
# app/AppKernel.php class AppKernel { // ... public function registerBundles() { $bundles = [ // ... // after Contao\CoreBundle\ContaoCoreBundle new Agoat\LanguageRelationBundle\AgoatLanguageRelationBundle(), ]; } }