# v1.1.3: Dynamic Supported Culture Detection
π Barbatos.i18n v1.1.3 is a feature update that makes it easy to discover which cultures are available at runtime, so language-switcher UIs can be built without hardcoding the culture list.
β¨ What's Changed
- Feature / Enhancements:
- Added
GetSupportedCultures()toILocalizationCultureManager. Returns the distinctCultureInfoset registered across your localization provider(s), so aComboBox/Pickerlanguage switcher can bind directly to it instead of hardcoding the culture list. - Added
GetOperatingSystemCultures()as a default interface method onILocalizationCultureManager, used as the fallback forGetSupportedCultures()when no localization sets are registered yet. Returns every specific culture known to the OS/ICU globalization data viaCultureInfo.GetCultures(CultureTypes.SpecificCultures), falling back further toCultureInfo.CurrentCultureif that data is unavailable (e.g. globalization-invariant mode on some mobile platforms). Since it ships as a default interface method, existingILocalizationCultureManagerimplementations get this behavior for free β no code changes required, fully non-breaking.
- Added
π¦ Updating via NuGet
You can update your projects to use this latest version via the NuGet Package Manager:
β dotnet add package Barbatos.i18n --version 1.1.3 β