Confluence : Translating ConfluenceActionSupport Content
This page last changed on Jul 14, 2006 by david.soul@atlassian.com.
Guide for translating the values for each property in a ConfluenceActionSupport_<LANGUAGE>.properties file: Translating Strings Without Variables Or LinksThese links can be translated directly. Using German in this example submit.query.name=Submit Query can be translated directly into submit.query.name=Anfrage senden Translating Strings Containing Variables Or LinksSome strings use variables or hyperlinks to provide contextual information. Variables are shown as {NUMBER} while hyperlinks are shown as <a href="{NUMBER}">LINK ALIAS</a>. Translations must take into account the positioning of variables, and check that links occur over the relevant phrase. Using German again as an example search.include.matches.in.other.spaces=There are <b>{0} matches</b> in <b>other spaces</b>. <a href="{1}">Include these matches</a>.
This tag uses a variable to show the number of matches, and a link the user can click to include those matches. The German version must place the 'matches' variable in the adjusted location, and reapply the hyperlink to the relevant phrase. search.include.matches.in.other.spaces=Es wurden <b>{0} Resultate</b> in <b>anderen Spaces</b> gefunden. <a href="{1}">Diese Resultate einschliessen</a>.
|
![]() |
Document generated by Confluence on Mar 22, 2007 21:00 |