Summary
If you try get Locale from Locale.FromIdentifier from bad value identifier doesn't return nothing but a empty locale
need to be return nothing or made a exception
Var loc As Locale
loc = Locale.FromIdentifier("1111")
print(Locale.FromIdentifier("fr-FR"))
print(Locale.FromIdentifier("1111"))
print(Locale.IsValidIdentifier("fr-FR"))
print(Locale.IsValidIdentifier("1111"))
Objo Studio Version
Operating System
Select the operating system(s) affected as tags for this post.
Steps To Reproduce
Expected Result
Actual Result
Screenshots, Logs, Or Sample Project