equals method
Return true if the other locale is exactly equal to the current one.
Implementation
bool equals(ILibLocale other) {
return language == other.language &&
region == other.region &&
script == other.script &&
variant == other.variant;
}