Localization Expressions

  Previous topic Next topic JavaScript is required for the print function Mail us feedback on this topic! Mail us feedback on this topic!  

If you need to supply a localized value into web part property or to some other setting where localization expressions are supported, you can use expressions in following formats:

 

Format

Description

Sample Value

Basic format:

 

{$key$}

Displays value of the given string specified in the Site Manager -> Development -> UI Cultures section or in the resx files in the CMSResources folder.

{$myform.firstname$}

In-place localization:

 

{$=default_string|culture_code=translation|culture_code=translation|etc.$}

Displays the strings defined in the expression.

 

On the left, you can see an example that displays Hallo for German culture, Ciao for Italian and Hello for all other cultures (default value).

{$=Hello|de-de=Hallo|it-it=Ciao$}

 

See also: Appendix A - Macro expressions

Page url: http://devnet.kentico.com/docs/5_5r2/devguide/index.html?localization_expressions.htm