public function get(array $languageIds)
{
$i18nPaths = $this->aimeos->get()->getI18nPaths();
foreach ($languageIds as $langid) {
if (!isset($this->i18n[$langid])) {
$i18n = new \Aimeos\MW\Translation\Gettext($i18nPaths, $langid);
if (function_exists('apc_store') === true && $this->config->get('shop.apc_enabled', false) == true) {
$i18n = new \Aimeos\MW\Translation\Decorator\APC($i18n, $this->config->get('shop.apc_prefix', 'laravel:'));
}
if ($this->config->has('shop.i18n.' . $langid)) {
$i18n = new \Aimeos\MW\Translation\Decorator\Memory($i18n, $this->config->get('shop.i18n.' . $langid));
}
$this->i18n[$langid] = $i18n;
}
}
return $this->i18n;
}