privates['translation.reader'] = $instance = new \Symfony\Component\Translation\Reader\TranslationReader(); $a = ($container->privates['translation.loader.yml'] ?? ($container->privates['translation.loader.yml'] = new \Symfony\Component\Translation\Loader\YamlFileLoader())); $b = ($container->privates['translation.loader.xliff'] ?? ($container->privates['translation.loader.xliff'] = new \Symfony\Component\Translation\Loader\XliffFileLoader())); $instance->addLoader('php', ($container->privates['translation.loader.php'] ?? ($container->privates['translation.loader.php'] = new \Symfony\Component\Translation\Loader\PhpFileLoader()))); $instance->addLoader('yaml', $a); $instance->addLoader('yml', $a); $instance->addLoader('xlf', $b); $instance->addLoader('xliff', $b); $instance->addLoader('po', ($container->privates['translation.loader.po'] ?? ($container->privates['translation.loader.po'] = new \Symfony\Component\Translation\Loader\PoFileLoader()))); $instance->addLoader('mo', ($container->privates['translation.loader.mo'] ?? ($container->privates['translation.loader.mo'] = new \Symfony\Component\Translation\Loader\MoFileLoader()))); $instance->addLoader('ts', ($container->privates['translation.loader.qt'] ?? ($container->privates['translation.loader.qt'] = new \Symfony\Component\Translation\Loader\QtFileLoader()))); $instance->addLoader('csv', ($container->privates['translation.loader.csv'] ?? ($container->privates['translation.loader.csv'] = new \Symfony\Component\Translation\Loader\CsvFileLoader()))); $instance->addLoader('res', ($container->privates['translation.loader.res'] ?? ($container->privates['translation.loader.res'] = new \Symfony\Component\Translation\Loader\IcuResFileLoader()))); $instance->addLoader('dat', ($container->privates['translation.loader.dat'] ?? ($container->privates['translation.loader.dat'] = new \Symfony\Component\Translation\Loader\IcuDatFileLoader()))); $instance->addLoader('ini', ($container->privates['translation.loader.ini'] ?? ($container->privates['translation.loader.ini'] = new \Symfony\Component\Translation\Loader\IniFileLoader()))); $instance->addLoader('json', ($container->privates['translation.loader.json'] ?? ($container->privates['translation.loader.json'] = new \Symfony\Component\Translation\Loader\JsonFileLoader()))); return $instance; } }