Merge branch 'locale-script-fixes'

Improve handling of the "script" part of the locale, notably fixing
zh-Hans-CN locale support under macOS.

See #24399.
This commit is contained in:
Vadim Zeitlin
2024-03-22 19:10:11 +01:00
5 changed files with 61 additions and 20 deletions
+12
View File
@@ -387,6 +387,18 @@ MyFrame::MyFrame()
),
wxSizerFlags().Center().Border());
topSizer->Add(new wxStaticText
(
panel,
wxID_ANY,
wxString::Format
(
_("Preferred UI languages: [%s]"),
wxJoin(wxUILocale::GetPreferredUILanguages(), ',')
)
),
wxSizerFlags().Center().Border());
// create some controls affected by the locale
// this demonstrates RTL layout mirroring for Arabic locales and using