'languages' => array(),
'default' => 0,
'categories' => array(),
- 'categoryIDs' => array()
+ 'categoryIDs' => array(),
+ 'multilingualismEnabled' => false
);
// get languages
$data['default'] = $language->languageID;
}
+ // multilingualism
+ if ($language->hasContent) {
+ $data['multilingualismEnabled'] = true;
+ }
+
// language code to language id
$data['codes'][$language->languageCode] = $language->languageID;