ResourceStringInfoProviderGetStringInternal Method |
Returns string by specified key and specified cultureCode.
Namespace: CMS.LocalizationAssembly: CMS.Globalization (in CMS.Globalization.dll) Version: 12.0.0
Syntax protected virtual string GetStringInternal(
string key,
string cultureCode,
string defaultValue,
bool useDefaultCulture = true
)
Parameters
- key
- Type: SystemString
Resource string key - cultureCode
- Type: SystemString
Resource string UICulture code - defaultValue
- Type: SystemString
Default value in case string was not found - useDefaultCulture (Optional)
- Type: SystemBoolean
If true the default culture translation is used if translation in chosen culture doesn't exist
Return Value
Type:
StringSee Also