I read the docs about multilanguage, but I did not found a solution, how to configure kirby to detect en_gb and en_us both as English or de_DE and de_AT as German.
My default language is German, so no matter if the browser is set to de or de_DE or de_AT kirby routes to the /de-directory.
This works if the browser is set to en_gb, but if the browser is set to en_us, the autodetection routes to /de-directory.
Maybe this is a problem with windows (I am using laragon with nginx for developing). Did not test on a Linux system.
If the Browser is set to “en”, the /en folder is selected although the locale-setting in Kirby is “en_US” or “en_EN”. I want it the other way arround: Whatever en_ is set in browser, it should route to the /en-folder.
But if a locale with country suffix is set in the browser, I had to set the exact LC_ALL code.
I could add a language file foreach english locale, but then I had to add the translation to each english (not default) language file.