public static function convertXlfToPhp($strName, $strLanguage, $blnLoad = false)
{
@trigger_error('Using System::convertXlfToPhp() has been deprecated and will no longer work in Contao 5.0. Use the Contao\\CoreBundle\\Config\\Loader\\XliffFileLoader instead.', E_USER_DEPRECATED);
// Convert to absolute path
if (strpos($strName, TL_ROOT . '/') === false) {
$strName = TL_ROOT . '/' . $strName;
}
$loader = new XliffFileLoader(static::getContainer()->getParameter('kernel.root_dir'), $blnLoad);
return $loader->load($strName, $strLanguage);
}