Changes for page Writing Internationalized XWiki Applications
Last modified by Raphaƫl Jakse on 2022/03/17
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -15,6 +15,8 @@ 15 15 welcome=Welcome 16 16 withparams=I can {0} pass {1} {2} params too using the Java MessageFormat syntax 17 17 {{/code}} 18 + 19 +NB: the Java MessageFormat syntax is described in the [[MessageFormat Javadoc>>https://docs.oracle.com/javase/7/docs/api/java/text/MessageFormat.html]]. There's in particular an important peculiarity for messages with parameters: single quotes need to be doubled to show up in the translated string, which is not the case for messages that are not parameterized. 18 18 ))) 19 19 * Do the same for all the translations you want.((( 20 20 {{info}}