$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();
$offset->
resetDefinitions();
$offset->
setLastId(null
);
return $this->
iterate($offset);
}