Project

General

Profile

Actions

Improvements #13131

open

Locale name changes

Added by Matthias Van Ceulebroeck 2 months ago. Updated about 2 months ago.

Status:
Review
Priority:
Normal
Assignee:
-
Target version:
Start date:
10/21/2024
Due date:
% Done:

0%

Estimated time:

Description

Currently developers are allowed to either define a locale, or use the browser locale (parsed from the Accept-Language header). Changing the locale (by e.g. user input) will then always completely refresh the widget tree. This is to ensure that the UI always remains consistent.
This is, however, also a little restrictive. This can be changed in two ways:

  • allow for WLocale::setName() to be part of the public API.
  • add an optional parameter to WApplication::setLocale() to indicate whether a refresh is desired (which is by default enabled).
Actions #1

Updated by Matthias Van Ceulebroeck 2 months ago

  • Description updated (diff)
  • Target version set to 4.11.2
Actions #2

Updated by Matthias Van Ceulebroeck 2 months ago

  • Description updated (diff)
Actions #3

Updated by Romain Mardulyn about 2 months ago

  • Status changed from New to InProgress
  • Assignee set to Romain Mardulyn
Actions #4

Updated by Romain Mardulyn about 2 months ago

  • Status changed from InProgress to Review
  • Assignee deleted (Romain Mardulyn)
Actions

Also available in: Atom PDF