public function readClientLocalesFromRequest(Request $request) {
        $locales = [];

        foreach($request->getLanguages() as $client) {
            try {
                $locale = new Locale($client);
                $locales[] = $locale;
            } catch(\Exception $e) {
                trigger_error($e->getMessage(), E_USER_NOTICE);
            }
        }

        $this->setClientLocales($locales);
    }