Changes for page Writing Internationalized XWiki Applications
Last modified by Raphaƫl Jakse on 2022/03/17
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. slauriere1 +XWiki.mleduc - Content
-
... ... @@ -71,6 +71,19 @@ 71 71 {{/code}} 72 72 ))) 73 73 74 += I18n of XWiki Macros = 75 + 76 +To internationalize macros, the keys below can be added to the Translation document as [[presented above>>||anchor="HUsingpropertieslocatedinXWikipages"]]. 77 +A concrete example is presented in the [[Macro Tutorial>>Documentation.DevGuide.Tutorials.WritingMacros.WikiMacroTutorial]]. 78 + 79 +{{code}} 80 +rendering.macro.<macro id>.name=Name of the macro, displayed in the macros list in the macros wizard 81 +rendering.macro.<macro id>.description=Description of the macro, displayed as a help in the macros list in the macros wizard 82 + 83 +rendering.macro.<macro id>.parameter.<parameter name>.name=Name of the macro parameter, to be displayed in the form for the macro settings in the macros wizard 84 +rendering.macro.<macro id>.parameter.<parameter name>.description=Description of the macro parameter, to be displayed as a help in the form for the macro settings in the macros wizard 85 +{{/code}} 86 + 74 74 = Using the static Resource Bundles = 75 75 76 76 * Stop your XWiki instance