cogHelps translating XWiki UI in various languages
TypeJAR
CategoryAPI
Developed by

Vincent Massol

Active Installs3
Rating
Rate!
0 Votes
LicenseGNU Lesser General Public License 2.1
Installable with the Extension Manager

Description

Helps translating XWiki UI in various languages.

This is a work in progress. The end goal is to implement inline translation in XWiki with something similar to:

Features:

  • When passing the "showKeys" query string parameter in the URL, display translation keys instead of translations
  • When passing the "saveKeys" query string parameter in the URL, save the keys+translations in the Execution Context so that later it would be possible to display them in the UI when the page is rendered.

Examples:

showKeys1.png

showKeys2.png

Prerequisites & Installation Instructions

We recommend using the Extension Manager to install this extension (Make sure that the text "Installable with the Extension Manager" is displayed at the top right location on this page to know if this extension can be installed with the Extension Manager). Note that installing Extensions when being offline is currently not supported and you'd need to use some complex manual method.

You can also use the manual method which involves dropping the JAR file and all its dependencies into the WEB-INF/lib folder and restarting XWiki.

Needs to be installed a Farm level and XWiki needs to be restarted for this extension to take effect.

Dependencies

Dependencies for this extension (org.xwiki.contrib.translation:application-translation-api 1.0):

  • org.xwiki.rendering:xwiki-rendering-syntax-plain 8.4
  • org.xwiki.platform:xwiki-platform-container-servlet 8.4
  • org.xwiki.platform:xwiki-platform-localization-api 8.4
Tags:
Created by Vincent Massol on 2017/08/07 11:19
    

Get Connected