Download jars from plugin and add them (ametys-plugin-translationflagging-1.3.0.jar and ametys-plugin-translationflagging-resources-1.3.0.jar) to your application's WEB-INF/lib directory. Ametys
Add button to open tool in file WEB-INF/params/cms-ribbon-default.xml. The button identifier is org.ametys.translationflagging.SetTranslation. Add it to the Page
Oops!
Copy to clipboard failed. Open the code and copy it manually.
When content is modified and validated on a page linked to other translated pages, an e-mail can be sent to contributors who have the right to modify the translated version (online editing rights on the content) and who have the right to receive e-mail alerts on the translation to inform them that a new version is available.
To activate this function, modify the workflow file for your content WEB-INF/param/workflow.xml add post-function org.ametys.plugins.translationflagging.TranslationAlertFunction for the validation action as follows:
Oops!
Copy to clipboard failed. Open the code and copy it manually.
Here's an example of code to display flags on your graphic charter according to what has been entered by the contributor, leading to the target page in the other language.
Oops!
Copy to clipboard failed. Open the code and copy it manually.
You then need to know the i18n keys used in your charter. For example :
Oops!
Copy to clipboard failed. Open the code and copy it manually.
<message key="SKIN_TRANSLATION">Traductions :</message>
<message key="SKIN_TRANSLATION_fr">Voir la page en français</message>
<message key="SKIN_TRANSLATION_en">See this page in english</message>
<message key="SKIN_TRANSLATION_es">Ver esta página en español</message>
<message key="SKIN_TRANSLATION_de">Diese Seite in deutsch</message>
<message key="SKIN_TRANSLATION_it">Visualizza questa pagina in italiano</message>
<message key="SKIN_TRANSLATION_zh">?????????</message>
<message key="SKIN_TRANSLATION">Traductions :</message>
<message key="SKIN_TRANSLATION_fr">Voir la page en français</message>
<message key="SKIN_TRANSLATION_en">See this page in english</message>
<message key="SKIN_TRANSLATION_es">Ver esta página en español</message>
<message key="SKIN_TRANSLATION_de">Diese Seite in deutsch</message>
<message key="SKIN_TRANSLATION_it">Visualizza questa pagina in italiano</message>
<message key="SKIN_TRANSLATION_zh">?????????</message>
<message key="SKIN_TRANSLATION">Traductions :</message>
<message key="SKIN_TRANSLATION_fr">Voir la page en français</message>
<message key="SKIN_TRANSLATION_en">See this page in english</message>
<message key="SKIN_TRANSLATION_es">Ver esta página en español</message>
<message key="SKIN_TRANSLATION_de">Diese Seite in deutsch</message>
<message key="SKIN_TRANSLATION_it">Visualizza questa pagina in italiano</message>
<message key="SKIN_TRANSLATION_zh">?????????</message>
You'll also need images in "resources/img/translation": fr.png, en.png, es.png, de.png, it.png, zh.png.