MLx : Multi Language eXtension
MLx : Multi Language eXtension 1.1-b
Set of Snippets to to build multilingual sites on modx :
- find best translation possible for an article,
- produce links to translations,
- output chunk or text based on current language (for translation of interface elements).
- check for coherence between domain name and current language
Download
- mlx-11b.zip - 7.39 kb (555 downloads)
Description
Set of Snippets to build multilingual sites on modx:
- find best translations possible for an article,
- produce links to translations,
- output chunk or text based on current language (for translation of interface elements).
This all is done using a single template variable and a few conventions.
Here's how it works:
To make a multilingual website using the actual modx version (0963), we will :
- build distinct hierarchies of articles (trees) for each language, where the root of each language tree will be an article representing the language itself (alias set to language-code);
- have a reference language tree, whose root is known as the reference language root;
- for any article that it is not in the reference language tree, we may add a pointer (using a 'reference_page' template variable) to a reference article in the reference tree.
- install the 3 MLx snippets.
This process builds a set of language trees, where some articles (not necessarily all) point to reference articles in the reference language tree.
Based on this, the MLx system will then try for an article A to find the best translation in every language, that is:
- find a best reference article for article A :
- if A points to article B in reference article tree, then it's B, else go up to parent article of A to find a pointer to the reference tree, and further up if needed...
- find a best translation based on best reference article in every other language (similarly).
The MLx solution has the following advantages:
+ url path is in correct language
+ each language may have some structural variations (not each article ought to be translated)
More infos and discussions on http://www.modxcms.com/forums/index.php?topic=32729
Instructions
See readme.txt in archive.
Released Versions
Releases that are grayed out are deprecated.
| Version | Released | Author | Downloads |
|---|---|---|---|
| Total Versions: 2 | Total Downloads: 804 | ||
| 1.1-b | May 07, 2009 | electrogramme | 555 |
| 1.0 | Feb 04, 2009 | electrogramme | 249 |
Download Statistics
Package downloads per day since tracking began on June 27th, 2010. Weekends are colored. Plot below shows an overview.
Top Countries
This is a list of the countries most downloading this Extra.
| Country | Downloads |
|---|---|
| United States | 15 |
| Germany | 8 |
| Russian Federation | 5 |
| Poland | 2 |
| Czech Republic | 2 |
| Ukraine | 2 |
| Switzerland | 2 |
| Belgium | 2 |
| Netherlands | 2 |
| Vietnam | 1 |




