[Interest] Locale detection of Qt application hosted via WASM

Thorsten Glaser t.glaser at tarent.de
Wed Apr 28 18:55:49 CEST 2021


On Wed, 28 Apr 2021, Nicholas Yue wrote:

> I am new to locale handling in general and definitely new to locale on the
> web browser.

If you’re targetting a webbrowser, make the language selectable in
the software itself. Anything else is an affront: both geolocation
and browser language preferences fail, e.g. when in an Internet
Café in a foreign country. Make it easily enough reachable and
discoverable so it’ll be of use to all kinds of users. Then set
the language of the application based on it and, perhaps, even
store the chosen language in a cookie. DO NOT rely on either of the
other possible language sources.

bye,
//mirabilos
-- 
Infrastrukturexperte • tarent solutions GmbH
Am Dickobskreuz 10, D-53121 Bonn • http://www.tarent.de/
Telephon +49 228 54881-393 • Fax: +49 228 54881-235
HRB AG Bonn 5168 • USt-ID (VAT): DE122264941
Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg

*************************************************

Mit dem tarent-Newsletter nichts mehr verpassen: www.tarent.de/newsletter

*************************************************


More information about the Interest mailing list