Click or drag to resize
LocalizationHelperGetString Method (String, String, String, Boolean)

Note: This API is now obsolete.

Gets the string using the given string keys. Returns the first available item found.

Namespace: CMS.Localization
Assembly: CMS.Globalization (in CMS.Globalization.dll) Version: 12.0.0
Syntax
C#
[ObsoleteAttribute("Method is not intended to be used in custom code.")]
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