mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-05 13:20:11 +00:00
ResolveHostLanguage takes the host locales in order of preference from a source and the console language of the first one that is recognised. When none is (or the source returns none), it reports one notice line that names the detected locale and the English (United States) fallback and returns it, so auto never fails. Source and notice are injectable so tests do not depend on the host.