protected function getPrimaryLocale() {
		$primaryLanguage = Configure::read('Config.defaultLanguage');
		if (Configure::read('Config.defaultLocale')) {
			return Configure::read('Config.defaultLocale');
		}

		$primaryLocale = Configure::read('Config.allowedLanguages.' . $primaryLanguage . '.locale');
		return $primaryLocale;
	}