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 (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -77,3 +77,5 @@ 77 77 * In your document, use the following to get the value associated with a key: {{code language="none"}}$services.localization.render("key"){{/code}} 78 78 79 79 This will get the value from the Resource Bundle corresponding to the current language you are using in XWiki. 80 + 81 +If you're writing an extension JAR and wish to have static translation resources, you can put them in a ##ApplicationResources*.properties## file at the root of your extension JAR and they'll get picked up by the Localization module. See the [[Localization module>>extensions:Extension.Localization Module||anchor="HProvidetranslationbundleinajar"]] for more details.