LocalizationHelperGetFileString Method (String, String, Boolean) |
Note: This API is now obsolete.
Returns specified string from the resources.
Namespace: CMS.LocalizationAssembly: CMS.Globalization (in CMS.Globalization.dll) Version: 12.0.0
Syntax [ObsoleteAttribute("Use CMS.Helpers.ResHelper.GetFileString instead.")]
public static string GetFileString(
string stringName,
string culture = null,
bool useDefaultCulture = true
)
Parameters
- stringName
- Type: SystemString
Name of the string - culture (Optional)
- Type: SystemString
Culture - useDefaultCulture (Optional)
- Type: SystemBoolean
If true the default culture translation is used if translation in chosen culture doesn't exists
Return Value
Type:
StringSee Also