Pre-define current culture for texts #52

Closed
opened 2023-01-24 19:21:09 +00:00 by thorsten · 2 comments
thorsten commented 2023-01-24 19:21:09 +00:00 (Migrated from devops.tsommer.org)

The C# I18N classes will be used e.g. inside a server with many concurrent requests. Each request might use another culture, though. We could add two methods to I18N:

  • CurrentCulture()
  • UseCulture(CultureInfo culture)

Usage: I18N.UseCulture(requestedCulture).A.ButtonText etc.

The C# I18N classes will be used e.g. inside a server with many concurrent requests. Each request might use another culture, though. We could add two methods to I18N: - `CurrentCulture()` - `UseCulture(CultureInfo culture)` Usage: `I18N.UseCulture(requestedCulture).A.ButtonText` etc.
thorsten commented 2023-02-12 13:49:40 +00:00 (Migrated from devops.tsommer.org)

mentioned in merge request !27

mentioned in merge request !27
thorsten commented 2023-02-12 15:18:48 +00:00 (Migrated from devops.tsommer.org)

mentioned in commit b940811232

mentioned in commit b9408112325ccd8f255d8e6145c52db93e71ecaf
thorsten (Migrated from devops.tsommer.org) closed this issue 2023-02-12 15:18:48 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Dotnet/I18NCommander#52
No description provided.