/** Locales that use the imperial measurement system */ const IMPERIAL_LOCALES = new Set(['en-US', 'en-LR', 'en-MM']); export function resolveUnitSystem(locale: string): 'metric' | 'imperial' { return IMPERIAL_LOCALES.has(locale) ? 'imperial' : 'metric'; }