Click or drag to resize
LocalizationHelperGetString Method (String, String, String, Boolean)
Gets the string using the given string keys. Returns the first available item found.

Namespace: CMS.Localization
Assembly: CMS.Localization (in CMS.Localization.dll) Version: 9.0.0
Syntax
C#
public static string GetString(
	string[] stringNames,
	string culture,
	string defaultValue,
	bool useDefaultCulture = true
)

Parameters

stringNames
Type: SystemString
String names
culture
Type: SystemString
Culture
defaultValue
Type: SystemString
Default value
useDefaultCulture (Optional)
Type: SystemBoolean
If true the default culture translation is used if translation in chosen culture doesn't exist

Return Value

Type: String
See Also