Bug description
When an app has a config('app.locale') with another language (say Swedish) and the users sets their preferred locale to something else (say English), the Utilities page still uses the apps locale.
How to reproduce
Reproduction repo: adevade/statamic-utilities-translation-bug
- Log in with
admin@example.com and password - See that the admin panel is in English (as per the users preferences)
- Go to Utilities page and see that it is in Swedish (as per the app config)
Note: Individual utility pages are still in English
Settings
config/app.php has locale => 'sv'users/admin@example.com.yaml has preferences: locale: en
Logs
No response
Versions
Statamic 3.3.3 Solo
Laravel 9.5.1
PHP 8.1.3
No addons installed
Installation
Fresh statamic/statamic site via CLI
Antlers Parser
No response
Additional details
No response
Bug description
When an app has a
config('app.locale')with another language (say Swedish) and the users sets their preferred locale to something else (say English), the Utilities page still uses the apps locale.How to reproduce
Reproduction repo: adevade/statamic-utilities-translation-bug
admin@example.comandpasswordNote: Individual utility pages are still in English
Settings
config/app.phphaslocale => 'sv'users/admin@example.com.yamlhaspreferences: locale: enLogs
No response
Versions
Statamic 3.3.3 Solo
Laravel 9.5.1
PHP 8.1.3
No addons installed
Installation
Fresh statamic/statamic site via CLI
Antlers Parser
No response
Additional details
No response