src/Viserio/Component/Translation/TranslationManager.php
public function getLanguageFallback(string $lang): ?MessageCatalogueContract
    {
        if (isset($this->langFallback[$lang])) {
            return $this->langFallback[$lang];
        }

        return null;
    }
public function getLanguageFallback(string $lang): ?MessageCatalogueContract
    {
        if (isset($this->langFallback[$lang])) {
            return $this->langFallback[$lang];
        }

        return null;
    }
Get fallback for a language.

@param string $lang

@return null|\Viserio\Component\Contract\Translation\MessageCatalogue