FileLocalizationServiceGetFileString Method (String, String, String, Boolean) |
Returns specified string from the resource files.
Namespace: CMS.LocalizationAssembly: CMS.Globalization (in CMS.Globalization.dll) Version: 13.0.131
Syntax public string GetFileString(
string stringName,
string culture,
string defaultValue,
bool useDefaultCulture = true
)
Parameters
- stringName
- Type: SystemString
Name of the string - culture
- Type: SystemString
Culture - defaultValue
- Type: SystemString
Default value to return in case no string found - useDefaultCulture (Optional)
- Type: SystemBoolean
If true the default culture translation is used if translation in chosen culture doesn't exists
Return Value
Type:
StringImplements
ILocalizationServiceGetFileString(String, String, String, Boolean)See Also