]> BookStack Code Mirror - bookstack/commit
Updated & improved language locale handling
authorDan Brown <redacted>
Fri, 2 Sep 2022 18:19:01 +0000 (19:19 +0100)
committerDan Brown <redacted>
Fri, 2 Sep 2022 18:19:01 +0000 (19:19 +0100)
commit9158a66bff8fa50640eef7ac8830d47b7fb72c02
treefbbf01c2b2a5625e53c1ca3bcfcb6df5d247871e
parent7f8b3eff5a82eee7f14f3799165b39431db83d93
Updated & improved language locale handling

Extracted much of the language and locale work to a seperate, focused class.
Updated php set_locale usage to prioritise UTF8 usage.
Added locale options for windows.
Clarified what's a locale and a bookstack language string.

For #3590 and maybe #3650
app/Http/Middleware/Localization.php
app/Util/LanguageManager.php [new file with mode: 0644]