exploreimpact / contao-i18nl10n
The simplest way to create and manage multi-language sites with Contao.
Installs: 1 362
Dependents: 0
Suggesters: 0
Security: 0
Stars: 20
Watchers: 7
Forks: 18
Open Issues: 9
Type:contao-bundle
Requires
- php: ^5.6|^7.0
- contao-community-alliance/composer-plugin: *
- contao/core-bundle: ^4.4
- menatwork/contao-multicolumnwizard: ^3.3.12
Requires (Dev)
- codeception/codeception: *
- contao/manager-plugin: ^2.0
- exim/svg-build-image: dev-master
- pdepend/pdepend: ^2.1
- phploc/phploc: ^4.0
- phpmd/phpmd: ^2.2
- sebastian/phpcpd: ^2.0
- squizlabs/php_codesniffer: ^2.3
- theseer/phpdox: 0.8.1.1
This package is auto-updated.
Last update: 2024-10-19 00:26:01 UTC
README
Warning: This Extension is in beta status. DO NOT USE IT ON ANY PRODUCTIVE ENVIRONMENT!
ATTENTION: I stopped the active development of this extension. This is due to several circumstances. First of all it became increasingly harder to impossible to fix existing routing related bugs. A refactoring of this extension would take an unreasonable amount of time. Several features of the extension would even require a total overwrite of the Contao routing. From my personal perspective this extension is dead - at least until someone is able and willing to invest a lot of energy to give it another try. Maybe Contao 5 will introduce ways to revive the project.
About
A module to handle localizations for Contao 4.
By default Contao handles multiple languages by duplicating page trees for each language (in Contao's Site Structure). If you have many pages and languages it can become a lot of work to handle your content and to keep them in sync. Especially, when the content is similar across languages. This extension is for you!
System requirements
Installation
1. Install package
$ composer require exploreimpact/contao-i18nl10n
# or for latest state of development:
$ composer require exploreimpact/contao-i18nl10n:dev-master
2. Update database
- Run a database update via the Installtool afterwards.
3. Set URL settings
- Open the Contao backend.
- Go to "Site structure".
- Edit your website's root page:
- Under "DNS settings":
- Enter the default language to the "Language" field.
- Set the page as "language fallback".
- Under "i18nl10n settings":
- Add the additional languages you want to make available.
- Under "DNS settings":
Note:
- The extension is not compatible with the parameter
prepend_locale: true
!
Documentation:
Contao 4: ... t.b.d. ...
Contao 3: https://github.com/exploreimpact/contao-i18nl10n/wiki
Note: Most configuration instructions still match for Contao 4 intallations.
For changes made in the past please look into CHANGELOG.md.
Support
Claudio De Facci
https://exploreimpact.de
claudio@exploreimpact.de