<
From version < 19.1 >
edited by slauriere
on 2020/01/28
To version < 20.1 >
edited by Manuel Leduc
on 2020/06/11
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.slauriere
1 +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

Get Connected