Skip to main content
Defined in: i18n/I18n.ts:73 Normalize a locale code: trimmed, lower-case, _ → - (' EN_us ' → 'en-us'). Returns undefined for anything that is not a non-empty string.

Parameters

Returns

string | undefined