User's manual


This plugin allows a contributor to indicate, for a page, which is the corresponding page in each of the other languages managed by the site.
The graphic charter can then use this information to indicate that the page exists in another language.

Translation from one language to another must be carried out by a translator or a person familiar with both languages. This page explains how to enable the contributor or webmaster to set up translated pages.

  1. Use cases
  2. Realization
    1. Prerequisites
    2. Site map
    3. Report a translation
    4. Notification by email
  3. Displaying translated pages in the back office
  4. Front-office display of translated pages

 

Use cases

A webmaster has a site in French and wants to distribute information in English and translate one or more pages.

Realization

Prerequisites

The webmaster must have made the English language available for the site. The list of languages available for a website is visible in the administration area of the CMS AmetysPlease refer to the Administration Manual if necessary.

The contributors who will set up the page(s) on the English site must have rights to the English site map (see Assigning rights).

Site map

CMS Ametys manages a site map by language.

The sitemap tool lets you choose the language of the sitemap you wish to work on.

Here is an example of the site map in French (left) and English (right)

   

 

Pages can have completely different names in different languages.

Report a translation

The first step in translation is to get a translator to translate the content into the target language, in this case English.

Next, create the page in the Target Site Map and add content.

The last step is to indicate that the new page has a match in the sitemap of the other language.

To do this, simply:

  • select a language, say English, then select the page in the sitemap
  • in the Advanced click on the Report translations


  • a pop-up window opens with a list of other available languages
  • then simply select the translated page, either from the drop-down list or from the sitemap by clicking on the button click on the button

  • a pop-up window opens containing the site map for the selected language, in this case English
  • select the corresponding page, then confirm
  • les pages sont alors considérées comme traduction l'une de l'autre (Français <-> Anglais)

Notification by email

If the application is configured to do so, when content is validated in a translated page, an e-mail is sent to contributors who have the right to modify the translated version, informing them that a new version is available.

See the administration manual to activate alerts email.

Displaying translated pages in the back office

The Site Map tool allows you to display translated pages using the Translated Page decorators.

An icon is displayed next to pages with a translation:

 

Front-office display of translated pages

The operation described here is the recommended operation to be implemented by the graphics integrator.

When translation flags are in place and a visitor clicks on a language flag, the corresponding translated page is displayed.

When there's no match, the flag doesn't appear, or the surfer gets the home page of the desired site.

Back to top

Translation flagging