namespace StellaOps.Localization; /// /// Ambient locale for the current async call chain. /// Set by the localization middleware, read by . /// public static class LocaleContext { private static readonly AsyncLocal _current = new(); /// Current request locale (e.g., "de-DE"). Null falls back to default. public static string? Current { get => _current.Value; set => _current.Value = value; } }