Answer:
PHP Code:
$locales = ['fr_FR', 'fr_FR.utf8', 'fr', 'French'];
The path to the solution:
Your question brought my attention to the next line in the file:
PHP Code:
@setlocale(LC_TIME, 'fr_FR'); //in french.php
@setlocale(LC_TIME, $locales); //in german.php
Step 1
Changing it to $locales in french.php resulted in the date being display in English.
Changing it to fr_FR.utf8 in french.php resulted in fixing é in the months.
Changing it to de_DE.utf8 in german.php resulted in fixing März.
Step 2
Then I started from the presumption that there's an importance in the order $locales is listed.
PHP Code:
@setlocale(LC_TIME, $locales); //in all THE_LANGUAGE.php
So I placed all utf8-versions first:
PHP Code:
$locales = ['fr_FR.utf8', 'fr_FR', 'fr', 'French']; //in french.php
$locales = ['de_DE.utf8', 'de_DE', 'de', 'German']; //in german.php
It looks like this fixes all problems.
Suggestion to/question for core writer members:
In english.php shouldn't:
PHP Code:
$locales = ['en_US', 'en_US.utf8', 'en', 'English_United States.1252'];
then become:
PHP Code:
$locales = ['en_US.utf8', 'en_US', 'en', 'English_United States.1252'];
Bookmarks