ILocalizationServiceGetString Method |
Gets the string by the specified resource key
Namespace: CMS.CoreAssembly: CMS.Core (in CMS.Core.dll) Version: 8.2.23
Syntax string GetString(
string resourceKey,
string culture = null,
bool useDefaultCulture = true
)
Parameters
- resourceKey
- Type: SystemString
Resource key - culture (Optional)
- Type: SystemString
Culture - 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