Added domain-based locale parsing. Tests will be soon