Project

General

Profile

Actions

Improvements #13131

open

Locale name changes

Added by Matthias Van Ceulebroeck 2 days ago. Updated 2 days ago.

Status:
New
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 days ago

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

Updated by Matthias Van Ceulebroeck 2 days ago

  • Description updated (diff)
Actions

Also available in: Atom PDF