Download the PHP package imi/imi_mm_changelanguage without Composer
On this page you can find all versions of the php package imi/imi_mm_changelanguage. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download imi/imi_mm_changelanguage
More information about imi/imi_mm_changelanguage
Files in imi/imi_mm_changelanguage
Package imi_mm_changelanguage
Short Description Enable Language Changer for Meta Models
License GPL-2.0
Homepage http://www.imi-digital.de
Informations about the package imi_mm_changelanguage
Contao Module imi_mm_changelanguage
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.
All versions of imi_mm_changelanguage with dependencies
contao/core-bundle Version ~3.5 || ~4.1
metamodels/core Version ^2.0
terminal42/contao-changelanguage Version >=2.0
contao-community-alliance/composer-plugin Version ^2.4 || ^3.0