public function __toString()
{
$localeIdentifier = $this->language;
if ($this->script !== null) {
$localeIdentifier .= '_' . $this->script;
}
if ($this->region !== null) {
$localeIdentifier .= '_' . $this->region;
}
if ($this->variant !== null) {
$localeIdentifier .= '_' . $this->variant;
}
return $localeIdentifier;
}