imi/imi_mm_changelanguage
最新稳定版本:3.1.1
Composer 安装命令:
composer require imi/imi_mm_changelanguage
包简介
Enable Language Changer for Meta Models
README 文档
README
This module adds compatibility between Contao MetaModels and Terminal 42 changelanguage.
Example:
If you have a URL like https://example.com/products and a German fallback page https://example.com/produkte where products are added via Metamodels (https://example.com/products/vacum-cleaner), the language switcher will link to https://example.com/produke/staubsauger and all other translated products.
Compatibility
- Version 3.x - Tested on Contao 4.9.9/4.13.x and MetaModels 2.2/2.3
- Version 2.x - Tested on Contao 4.4 and MetaModels 2.1
Installation
Install the module as usual using the composer client with the module name imi/imi_mm_changelanguage in the backend or using Contao Manager by searching for imi_mm_changelanguage
Configuration
The module automatically detects the meta models which used on the current page
and whether a parameter auto_item is used as a filter. This parameter's
value is then translated.
The autodetection can be overwritten via $GLOBALS['TL_CONFIG']['mm_changelanguage'] in initconfig.php. It must be an array with $metamodelName => $attributeName.
Example:
$GLOBALS['TL_CONFIG']['mm_changelanguage']['mm_products] = 'alias_translated';
About Us
iMi digital GmbH offers Contao related open source modules. If you are confronted with any bugs, you may want to open an issue here.
In need of support or an implementation of a modul in an existing system, free to contact us. In this case, we will provide full service support for a fee.
Of course we provide development of closed-source moduls as well.
Contao Modul imi_mm_changelanguage
Dieses Modul macht Contao MetaModels und das Sprachwechsler Modul Terminal 42 changelanguage kompatibel.
Beispiel:
Wenn Sie eine URL wie https://example.com/products und eine deutsche Fallback-Seite https://example.com/produkte haben, auf der Produkte über Metamodells (https://example.com/products/vacum-cleaner) hinzugefügt werden, wird der Sprachwechsler einen Links zu https://example.com/produke/staubsauger und allen anderen übersetzten Produkten verwenden.
Installation
Installieren Sie das Modul mit dem Composer Client oder Contao Manager. Der Modulname lautet imi/imi_mm_changelanguage
Bekannte Probleme
siehe oben (Englisch)
Über iMi digital
iMi digital GmbH bietet eine breite Auswahl an verschiedenen Open-Source-Module für Contao an. Beim Auftreten von Fragen oder Bugs kann hier sehr gerne ein Thread geöffnet werden.
Kontaktieren Sie uns gerne, wenn Sie Support für die Implementierung eines Moduls in ein bereits bestehendes CMS-System benötigen. In diesem Fall bieten wir einen kostenpflichtigen Full-Service-Support an.
统计信息
- 总下载量: 622
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0
- 更新时间: 2015-06-12