In this case, all the translations of an article will be displayed (including the current article, which could be excluded by specifically adding the {exclus} criterion).

origine_traduction

This criterion enables us to retrieve the original source article for a particular translated article, that being the one that serves as the source reference to the other translations. To show all of the source articles, use:

Example

Display an article in the visitor’s language where possible, and if not, then in the main language.

We start by listing, for a section, all the articles which serve as sources for the creation of translations. We then continue by checking if a translation exists in the language requested by the visitor. Depending on the result, we display the title of the translated article or that of the source article.

<BOUCLE_art1(ARTICLES){id_rubrique}{origine_traduction}><BOUCLE_art2(ARTICLES){traduction}{lang=#ENV{lang}}>
// if a translation does exist
<li>#TITRE</li></BOUCLE_art2>
// otherwise use the original article's title
<li>#TITRE</li><//B_art2></BOUCLE_art1>