feat: Cookie-basierte Lokalisierung implementiert, ToLocal Erweiterungsmethoden hinzugefügt und Translation-Service entfernt. Stattdessen wird IStringLocalizer<T> verwendet, abhängig von der Situation wie Cookie-basierter Kultur oder Kultur basierend auf der Route.
This commit is contained in:
@@ -78,13 +78,6 @@ namespace DigitalData.Core.Contracts.Application
|
||||
[JsonIgnore]
|
||||
ICollection<string> CriticalMessages { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// A function that translates a message key from a string to its localized or transformed representation.
|
||||
/// This property allows for custom translation logic to be applied based on the application's needs.
|
||||
/// </summary>
|
||||
[JsonIgnore]
|
||||
public Func<string, string> KeyTranslator { get; init; }
|
||||
|
||||
/// <summary>
|
||||
/// Adds a new message to the appropriate collection based on the message type.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user