Introduction
This addon let you manage translated domains and redirect user to correct domain according to negotiated language.
How to install
You can install this addon as any other Plone addons. Please follow official documentation: http://plone.org/documentation/kb/installing-add-ons-quick-how-to
This addon depends on Products.LinguaPlone
How to use
Once the addon is installed you have a controlpanel where you can configure each url for languages. Be warned no redirection happens if the url is not configured.
Example:
http://en.example.be|en http://stagingen.example.be|en http://deven.example.be|en http://nl.example.be|nl http://stagingnl.example.be|nl http://devnl.example.be|nl http://fr.example.be|fr http://stagingfr.example.be|fr http://devfr.example.be|fr
IMPORTANT: The choice is based on the order.
You can also configure using registry.xml in your generic setup profile:
<records interface="collective.linguadomains.interfaces.ISettingsSchema">
<value key="activated">True</value>
<value key="mapping">
<element>http://fr.example.be|fr</element>
<element>http://stagingfr.example.be|fr</element>
<element>http://devfr.example.be|fr</element>
<element>http://nl.example.be|nl</element>
<element>http://stagingnl.example.be|nl</element>
<element>http://devnl.example.be|nl</element>
<element>http://en.example.be|en</element>
<element>http://stagingen.example.be|en</element>
<element>http://deven.example.be|en</element>
</value>
</records>
Credits
Companies
Contributors
author: JeanMichel FRANCOIS aka toutpt <toutpt@gmail.com>
Changelog
1.1 (2013-01-17)
Use 301 instead of 302 when doing redirect curl -s -w “%{http_code} %{url_effective}\n” “http://localhost:8080/Plone/fr” -o /dev/null
1.0 (2012-12-06)
Fix bugs with many domains on the same URL -> Use ordering of domains
1.0a1 (2012-05-11)
Initial release
Metadata
Release files for collective.linguadomains 1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| collective.linguadomains-1.1.zip | 28.1 kB | Without provenance | Details |
Release files / collective.linguadomains-1.1.zip
| Download URL | collective.linguadomains-1.1.zip |
|---|---|
| Size | 28.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3f6c7d9dba764af0a9b5d61727e4e4d7eed81c00492f27d94de8c2c694a833f6
|
|
BLAKE2b-256 checksum How to use checksums |
7b8053ab0e2bd518b6426c419cfbb981a4a4929eaffefe38084ec906c2926572
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for collective.linguadomains 1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.