ResHelper LocalizeString Method Kentico 8.0 API Reference
Replaces "{$stringname$}" expressions in given text with localized strings using given culture.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

inputText
Type: OnlineSystem String
Input text with localizable expressions
culture (Optional)
Type: OnlineSystem String
Culture
encode (Optional)
Type: OnlineSystem Boolean
If true, translations (replacements) are HTML encoded
useDefaultCulture (Optional)
Type: OnlineSystem Boolean
If true the default culture translation is used if translation in chosen culture doesn't exist

Return Value

Type: OnlineString
See Also