getTranslations static method
Returns the full translation map for a given locale code. Falls back to English for unknown locales. Results are cached.
Implementation
static Map<String, String> getTranslations(String locale) {
return _cache[locale] ??= _loadLocale(locale);
}