Default to system locale

Author: janduboisCreated Jul 26, 2026Updated Sep 20, 2026
Labelskind/enhancementarea/preferencesarea/localization

On a new installation, or after a factory reset, we should default the `application.locale` to the system locale instead of `en-us`, if it can be mapped to one of the supported locales. So `pt` should select `pt-br`, not `en-us`.

Source: rancher-sandbox/rancher-desktop