LocalizationHelperGetAPIString Method (String, String, String, Boolean) |
Returns specified string.
Namespace: CMS.LocalizationAssembly: CMS.Localization (in CMS.Localization.dll) Version: 11.0.0
Syntaxpublic static string GetAPIString(
string stringName,
string culture,
string defaultValue,
bool useDefaultCulture = true
)
Parameters
- stringName
- Type: SystemString
Key of the string - culture
- Type: SystemString
Culture - defaultValue
- Type: SystemString
Value to return in case string not found - useDefaultCulture (Optional)
- Type: SystemBoolean
If true the default culture translation is used if translation in chosen culture doesn't exists
Return Value
Type:
String
See Also