LocalizationHelperGetString Method (String, String, String, Boolean, Boolean) |
Note: This API is now obsolete.
Returns specified string.
Namespace: CMS.LocalizationAssembly: CMS.Globalization (in CMS.Globalization.dll) Version: 12.0.0
Syntax [ObsoleteAttribute("Use CMS.Helpers.ResHelper.GetString instead.")]
public static string GetString(
string stringName,
string culture,
string defaultValue,
bool useDefaultCulture = true,
bool allowMultiple = 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 - allowMultiple (Optional)
- Type: SystemBoolean
If true, multiple string variants are allowed
Return Value
Type:
StringSee Also