mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-22 19:48:52 +00:00
Prior to this commit, we would only set the translation package for the application's engine when `appSettings.locale !== "en"`. This is problematic because it seems that `engine` is already provided with a system default that may not be `en`. In practice, this means that, initially, engine is loaded with, say `de`. `appSettings.locale` might be `en` but because we're only loading the correct translation package when it's **not** `en`, the application will stay in `de`. Changing the language to `en` at runtime is fine, however once the application is restarted, `engine` is again initialized with some other possible system default. It seems that we should *always* load the translation packge when `appSettings` are loaded.