From 38f5c0ebdf2b46ba8669654491ffe98c3b578a31 Mon Sep 17 00:00:00 2001 From: Michael Hudson-Doyle Date: Fri, 19 Feb 2021 15:09:39 +1300 Subject: [PATCH] another locale fix --- subiquity/ui/views/welcome.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subiquity/ui/views/welcome.py b/subiquity/ui/views/welcome.py index f7579796..b5fb055c 100644 --- a/subiquity/ui/views/welcome.py +++ b/subiquity/ui/views/welcome.py @@ -100,8 +100,8 @@ class WelcomeView(BaseView): current_index = None langs = get_languages() cur = self.cur_lang - if cur in ["C", None]: - cur = "en_US" + if cur in ["C.UTF-8", None]: + cur = "en_US.UTF-8" for i, (code, native) in enumerate(langs): log.debug("%s", (code, cur)) if code == cur: