Involver Developer Network : add_localization
This page last changed on Jan 03, 2012 by jed.wheeler@involver.com.
OverviewThe add_localization tag is used to display localized output on an SML feature tab either independently of the ?phrasebook_manager or to locally over-ride the translation proved in the phrasebook manager. The tag requires a name parameter. Attributes
ExampleThe following example assumes that you have localization configured and that your phrasebook file contains the entry for name of "my_string" and a translation of "my string is translated" and that your current locale is set to en_US {% localize name:"my_string" %} => my string is translated based on the value provided in the phrasebook {% add_localization name:"my_string" value:"my string needs a different translation then the one in the phrasebook" locale:"en_US" %} {% localize name:"my_string" %} => my string needs a different translation then the one in the phrasebook |
![]() |
Document generated by Confluence on Feb 12, 2013 09:09 |