Translation Macro

The Translation macro allows you to insert a translation message in the page content.

Usage

{{translation key="<key>" parameters="<["param0", "param1", "param2"]>" locale="<locale>" /}}

The list of the 31 supported locales are available in the documentation page about Internationalization.

Parameters

NameOptionalAllowed valuesDescriptionDefault value
keyNoA stringThe key associated to the translation.None
parametersYesAn arrayThe optional parameter to insert in the translation message.None
localeYesA valid localeThe language and country in which to translate the key.None

Example

{{translation key="search.panel.header" locale="en_US"/}}

Related Pages

Search this space

 

Most popular tags

Failed to execute the [groovy] macro
  1. access rights
  2. activity stream
  3. annotation
  4. attachment
  5. comment
  6. Document Tree Macro
  7. export
  8. Extension Manager
  9. Flamingo skin
  10. global user
  11. Groovy event listener
  12. group
  13. nested page
  14. search
  15. skin
  16. syntax
  17. user
  18. user profile
  19. velocity macros
  20. wiki
  21. wysiwyg
  22. XWiki Applications
  23. xwikiattachment_archive table
  24. xwikiattachment table
  25. xwikiattrecyclebin table
  26. xwikiproperties table

[Display all tags from this space]