Click or drag to resize
LocalizationHelperResourceFileExistsForCulture Method
Returns true if resource file exists for given culture.

Namespace: CMS.Localization
Assembly: CMS.Localization (in CMS.Localization.dll) Version: 9.0.0
Syntax
C#
public static bool ResourceFileExistsForCulture(
	string cultureCode,
	string pathPrefix = null
)

Parameters

cultureCode
Type: SystemString
Culture code (e.g. "en-US")
pathPrefix (Optional)
Type: SystemString
Path prefix used to locate the resource files

Return Value

Type: Boolean
See Also