public function setClientLocales($clientLocales): void
    {
        if(!$this->clientLocales)
            $this->clientLocales = new LocaleCollection();

        $this->clientLocales->removeAllLocales();

        foreach ($clientLocales as $locale) {
            if(is_string($locale)) {
                $locale = new Locale($locale);
            }

            if($locale instanceof Locale) {
                $this->clientLocales->addLocale($locale);
            }
        }
    }