src/Viserio/Component/Translation/TranslationManager.php
public function setLanguageFallback(string $lang, MessageCatalogueContract $fallback): self
    {
        $this->langFallback[$lang] = $fallback;

        return $this;
    }
public function setLanguageFallback(string $lang, MessageCatalogueContract $fallback): self
    {
        $this->langFallback[$lang] = $fallback;

        return $this;
    }
Set fallback for a language.

@param string                                                   $lang
@param \Viserio\Component\Contract\Translation\MessageCatalogue $fallback

@throws \RuntimeException

@return $this