The issue
I have two language installed in my local flarum 2 install: the default English and French. in the basics settings page, when I don't show the language selector (off) save than change the default language from english to french, nothing happen (still in English) even after cache:clear command and ctr+F5 refreshes. I tried many combinations and the only one that seemed to work properly (instantly refresh, or simple f5, to the selected language) is when I have the show the language selector toggle on and then change the language from the forum's selector at the top of the page.
When that selector is off, shouldn't the default language selected in basics settings prevail?
I've also tested it in flarum-in-a-box container and had the same issue.
Flarum information
Flarum core: 2.0.2
PHP version: CLI: 8.4.26, Web: 8.4.26
PHP memory limit: CLI: 512M, Web: 512M
MySQL version: 8.4.13
Loaded extensions: Core, date, libxml, openssl, pcre, zlib, filter, hash, json, random, Reflection, SPL, session, standard, sodium, cgi-fcgi, mysqlnd, PDO, xml, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, iconv, intl, exif, mysqli, pdo_mysql, pdo_sqlite, Phar, posix, readline, shmop, SimpleXML, sockets, sqlite3, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlwriter, xsl, zip, Zend OPcache, xdebug
+-----------------------------------+--------------+--------+-------+
| Flarum Extensions | | | |
+-----------------------------------+--------------+--------+-------+
| ID | Version | Commit | Notes |
+-----------------------------------+--------------+--------+-------+
| flarum-flags | v2.0.1 | | |
| flarum-tags | v2.0.2 | | |
| flarum-markdown | v2.0.1 | | |
| flarum-approval | v2.0.1 | | |
| flarum-statistics | v2.0.1 | | |
| flarum-mentions | v2.0.2 | | |
| walsgit-recycle-bin | dev-main | | |
| walsgit-external-links-in-new-tab | dev-main | | |
| walsgit-discussion-cards | dev-main | | |
| migratetoflarum-fake-data | 2.0.0-beta.1 | | |
| ianm-log-viewer | 2.0.0-beta.2 | | |
| fof-upload | 2.0.2 | | |
| fof-rich-text | 2.0.0-beta.6 | | |
| fof-links | 2.0.0-rc.3 | | |
| fof-clockwork | 2.0.0 | | |
| flarum-suspend | v2.0.2 | | |
| flarum-subscriptions | v2.0.1 | | |
| flarum-sticky | v2.0.2 | | |
| flarum-messages | v2.0.2 | | |
| flarum-lock | v2.0.1 | | |
| flarum-likes | v2.0.2 | | |
| flarum-lang-french | 5.0.15 | | |
| flarum-lang-english | v2.0.0 | | |
| flarum-extension-manager | v2.0.1 | | |
| flarum-emoji | v2.0.1 | | |
| flarum-bbcode | v2.0.1 | | |
| ernestdefoe-waymark | 1.5.0 | | |
| ernestdefoe-menu-control | v1.1.1 | | |
+-----------------------------------+--------------+--------+-------+
Base URL: https://flarum2.xxx
Installation path: /home/walid/dev/www/flarum2/public
Queue driver: sync
Session driver: file
Scheduler status: Never run
Mail driver: mail
Debug mode: ON
Don't forget to turn off debug mode! It should never be turned on in a production system.