ResourceStringInfoProviderGetStringInternal Method |
Returns string by specified key and specified cultureCode.
Namespace: CMS.LocalizationAssembly: CMS.Localization (in CMS.Localization.dll) Version: 10.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