cogAllow to insert a translation message in a content
TypeJAR
Developed by

XWiki Development Team

Rating
Rate!
0 Votes
LicenseGNU Lesser General Public License 2.1
Bundled With

XWiki Enterprise, XWiki Enterprise Manager

Compatibility

since 4.3M2

Description

Allow to insert a translation message in a content.

Usage

{{translation key="some.translation" parameters="param1,param2" locale="en_US"/}}

Parameters definition

NameOptionalAllowed valuesDefault valueDescription
keynostringthe key associated to the translation
parametersyesarraythe optional parameter to insert in the translation message if the translation message expect any
localeyeslocalevalid localethe language and country in which to translation the provided key

Example

Example 1:

{{translation key="some.translation"/}}

Example 2:

{{translation key="some.translation" parameters="param1,param2"/}}
Tags:
Created by Thomas Mortagne on 2012/11/02 17:37
    

Get Connected