core-bundle/src/Translation/Translator.php
private function loadLanguageFile(string $name): void
    {
        /** @var System $system */
        $system = $this->framework->getAdapter(System::class);
        $system->loadLanguageFile($name);
    }
private function loadLanguageFile(string $name): void
    {
        /** @var System $system */
        $system = $this->framework->getAdapter(System::class);
        $system->loadLanguageFile($name);
    }
Loads a Contao framework language file.