[Interest] Locale detection of Qt application hosted via WASM

Elvis Stansvik elvstone at gmail.com
Wed Apr 28 20:51:18 CEST 2021


Den ons 28 apr. 2021 kl 18:57 skrev Thorsten Glaser <t.glaser at tarent.de>:
>
> 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.

Agree to put in an option to change language, but surely it should be
possible to have the default be based on the language the user has set
in the OS/browser, just like many web applications do? (not
geolocation though, agree that is a bad basis for default language).

Elvis

>
> 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
>
> *************************************************
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> https://lists.qt-project.org/listinfo/interest


More information about the Interest mailing list