$language =
$this->
getLanguageForId($offset->
getLanguageId());
if (!
$language) { return null;
} $context =
$this->
createLanguageContext($language);
// current language has next message?
$message =
$this->
createIndexingMessage($offset,
$context);
if ($message) { return $message;
} // all definitions in all languages indexed
if (!
$offset->
hasNextLanguage()) { return null;
} // all definitions are indexed in current language, start again with next language
$offset->
selectNextLanguage();