search and ai stabilization work, localization stablized.

This commit is contained in:
master
2026-02-24 23:29:36 +02:00
parent 4f947a8b61
commit b07d27772e
766 changed files with 55299 additions and 3221 deletions

View File

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