public function setTranslations(Locale $locale, Translations $translations)
    {
        $this->translations[$locale->getID()] = [$locale, $translations];
    }
public function setTranslations(Locale $locale, Translations $translations)
    {
        $this->translations[$locale->getID()] = [$locale, $translations];
    }
public function setTranslations ( Locale $ locale , Translations $ translations ) { $ this -> translations [ $ locale -> getID ( ) ] = [ $ locale , $ translations ] ; }
Set the translations for a specific locale.

@param Locale $locale
@param Translations $translations
Set the translations for a specific locale .