Actions
Improvements #13381
closed
MV
RM
Improvements #13380: Extend list of tutorials
Create a tutorial for localization
Improvements #13381:
Create a tutorial for localization
Start date:
01/07/2025
Due date:
% Done:
0%
Estimated time:
Description
Recently a support email was asking about the correct way to implement localization.
While they were very close to most items being correct, there seemed to be a fundamental misunderstanding in how Wt does the substitution, and subsequent refreshing of the strings when the locale changes (i.e. language selection).
We should create a short tutorial walking through:
- how an application uses its resource bundles
- advantages and disadvantages of approaches, like using a
WContainerWidget, and adding content to it in code, or specifying aWTemplate, should be made clear here. - how `WTemplate uses its functions
- how
WStringlocalization functions (and how it doesn't) (i.e. having a localized string, and changing/appending content will result in a literal, which is no longer localized)
This tutorial will come with some inline code, and the code as a whole should be made public as well, so it can be experimented with.
RM Updated by Romain Mardulyn over 1 year ago
- Assignee set to Romain Mardulyn
- Status changed from New to InProgress
RM Updated by Romain Mardulyn over 1 year ago
- Status changed from InProgress to Review
- Assignee deleted (
Romain Mardulyn)
MV Updated by Matthias Van Ceulebroeck about 1 year ago
- Target version changed from 4.12.0 to 4.12.3
MV Updated by Matthias Van Ceulebroeck 7 months ago
- Assignee set to Matthias Van Ceulebroeck
RM Updated by Romain Mardulyn 7 months ago
- Target version changed from 4.12.3 to 4.12.4
RM Updated by Romain Mardulyn 7 months ago
- Target version changed from 4.12.4 to 4.13.0
RM Updated by Romain Mardulyn 5 months ago
- Target version changed from 4.13.0 to 4.14.0
RM Updated by Romain Mardulyn 3 months ago
- Priority changed from Normal to Low
RM Updated by Romain Mardulyn 3 months ago
- Assignee deleted (
Matthias Van Ceulebroeck)
ED Updated by emil de keyser 2 months ago
- Assignee set to emil de keyser
ED Updated by emil de keyser 2 months ago
- Status changed from Review to Resolved
- Assignee changed from emil de keyser to Romain Mardulyn
RM Updated by Romain Mardulyn 2 months ago
- Status changed from Resolved to Implemented @Emweb
RM Updated by Romain Mardulyn about 2 months ago
- Status changed from Implemented @Emweb to Closed
Actions