Click or drag to resize
LocalizationHelperGetAPIString Method (String, String, Boolean)
Returns specified string for the API usage (the default value is used when string is not found).

Namespace: CMS.Localization
Assembly: CMS.Localization (in CMS.Localization.dll) Version: 10.0.0
Syntax
C#
public static string GetAPIString(
	string stringName,
	string defaultValue,
	bool useDefaultCulture = true
)

Parameters

stringName
Type: SystemString
Key of the string
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