default_culture not honoured in 2.7.1
After an upgrade from 2.5.1 to 2.7.1. Setting the default culture to fr in apps/qubit/config/settings.yml is not honoured – I did all the php symphony cc, search:populate, systemctl restart php7.4-fpm and own browser cache cleaning, I could.
That problem seem to pop now and then on the mailing list. For example here.
A grep over the cache folder for default_culture reveals a remaining en
> grep -r default_culture cache
cache/qubit/prod/config/config_settings.yml.php: 'sf_default_culture' => 'fr',
cache/qubit/prod/config/config_core_compile.yml.php: 'default_culture' => 'en',
cache/qubit/prod/config/config_core_compile.yml.php: $this->setCulture(sfCultureInfo::validCulture($this->options['culture']) ? $this->options['culture'] : (null !== $currentCulture ? $currentCulture : $this->options['default_culture']));
cache/qubit/prod/config/config_factories.yml.php: 'default_culture' => 'fr',
Changing the one in config_core_compile.yml.php manually to fr and following with a systemctl restart php7.4-fpm fixes the problem. However it gets written back to en by subsequent php symphony cc runs.
Any idea where that comes from ?
Hi @dbuenzli - thank you for this issue. I would like to check, have you upgraded to 2.9.0 or 2.9.1 yet? Does this issue still persist for you? Thank you!
No we are still on 2.7.1, we will likely upgrade later this year.