Unable to set default document language to anything other than English if English is in the list of language codes
From the forum: https://forum.mayan-edms.com/viewtopic.php?f=9&t=1688
If a user wants to set a non-Eng as the default document language in the dropdown selector, it's impossible to do so while Eng is in the list of possible language codes. To reproduce:
Reduce the list of DOCUMENTS_LANGUAGE_CODES to just Fra, and set DOCUMENTS_LANGUAGE to Fra = Fra is the only option in the new document drop down If you add -Deu to the list of LANGUAGE_CODES, you can select either Deu or Fra in the dropdown, and Fra is still the default But add in -Eng to the list of LANGUAGE_CODES, then all 3 languages become selectable even if Fra is listed as the default.
If Eng is not in the LANGUAGE_CODES list, then DOCUMENTS_LANGUAGE feature works successfully with any other language, but when LANGUAGE_CODES has Eng in the list Mayan looks to always default to English in the dropdown selector. Reproduced both on a Fra OS-language machine as well as the EN_US demo environment.