ContentTransformationFunctionsIsTranslatedTo Method |
Returns true if document is translated into one of selected cultures.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 12.0.0
Syntax public static bool IsTranslatedTo(
Object document,
string cultures,
bool publishedOnly
)
Parameters
- document
- Type: SystemObject
Document to check - cultures
- Type: SystemString
Culture codes separated with a semicolon - publishedOnly
- Type: SystemBoolean
If true culture version must be published
Return Value
Type:
BooleanSee Also