mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-01-27 00:33:34 +00:00
http://php.net/manual/en/function.setlocale.php says "Different systems have different naming schemes for locales." This seems to be true for platforms (eg Win vs. Linux), but on Debian AFAIR locales were always at least two-part (de_DE), never just one (de). This seems to have been broken in 504651a3, likely by mistake. Also, switch locale immediately, even before writing to the database. BTW, what happens when system default locale is configured to e.g. fr_FR and the user selects "English" - does that work?
2 lines
47 B
Plaintext
2 lines
47 B
Plaintext
VALUES( 'fr_FR', 'French', 'Français' );
|