ResHelper LocalizeString Method Kentico 8.1 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.1.5347.20411)

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