find

open fun find(identifier: String): Locale?

Finds a locale by its tag or name.

Return

Locale with the given tag or name, or null if not found

Parameters

identifier

tag (en, it, fr-CA) or English name (English, Italian, French (Canada)) of the locale