public static function getByRepresentation($representation) {
		
		list ($languageCode, $countryCode) = explode('-', $representation);
		
		$query =
			'SELECT lc.*' .
			' FROM `locales` as lc' .
			' INNER JOIN `languages` AS l ON lc.language_id = l.id' .
			' INNER JOIN `countries` AS c ON lc.country_id = c.id' .
			' WHERE c.code = ?' .
			' AND l.code = ?';
		
		return static::getObjectByQuery($query, [$countryCode, $languageCode]);
		
	}