Bug 2231921

Summary: The Anaconda WebUI show mixed languages.
Product: [Fedora] Fedora Reporter: Lukas Ruzicka <lruzicka>
Component: anacondaAssignee: anaconda-maint
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 39CC: anaconda-maint, awilliam, jkonecny, vslavik, w
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-09-05 17:08:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2231339    
Attachments:
Description Flags
Welcome screen in English
none
Regional settings
none
Welcome screen in English
none
Webui with mixed languages none

Description Lukas Ruzicka 2023-08-14 16:43:26 UTC
When I boot up the Workstation Live, the system Region and Language are set up for Englis (United States) and the very first dialogue asking me if I want to install Fedora or try it is solely in English.

However, when I install the webui package and start Anaconda, the webui shows mixed languages. There are Czech lines mixed with English lines. I thought that it assumed to use Czech based on location services, but these are switched off by default on the tested system (20230813). 

Another possibility was to think that it selects Czech based on the language of the host computer, but I get the same results on an English computer with no Czech selected.

The location must play its role here, but it is not taken from the Settings.

I believe, the webui should follow the combination set in Settings, when the Language and Keyboard selection tool is not working at the moment.

Reproducible: Always

Steps to Reproduce:
1. Boot the Live CD into a VM in a non-english location.
2. Make sure you have English set as default in Regional Settings.
3. Install anaconda-webui.
4. Run Anaconda.
Actual Results:  
Some lines and widgets have Czech strings.

Expected Results:  
Anaconda should only have English strings, or it should follow the language settings of the Live system.

See the screenshots.

Comment 1 Lukas Ruzicka 2023-08-14 16:44:33 UTC
Created attachment 1983314 [details]
Welcome screen in English

Comment 2 Lukas Ruzicka 2023-08-14 16:45:09 UTC
Created attachment 1983315 [details]
Regional settings

Comment 3 Lukas Ruzicka 2023-08-14 16:45:52 UTC
Created attachment 1983316 [details]
Welcome screen in English

Comment 4 Lukas Ruzicka 2023-08-14 16:46:25 UTC
Created attachment 1983317 [details]
Webui with mixed languages

Comment 5 Jiri Konecny 2023-08-16 10:26:06 UTC
Hi Lukas, thanks for the report but this dialog will be removed when Gnome Initial Setup will get into the Live environment.
This "Do you want to install" question will be handled by the GIS.


The another issue reported here seems to go from a system. What you see here seems to be some geolocation service (not sure from where it comes) which set our application to Czech (where localization is not yet finished). After GIS will take the place they will set the environment language to the GIS selected language and the installer should be correctly started with the given language.

Comment 6 Adam Williamson 2023-08-24 16:56:52 UTC
Lukas, can you re-test this with a current image (with the g-i-s flow added) and see if it still happens? It sounds like it shouldn't.

Comment 7 Adam Williamson 2023-08-24 17:50:42 UTC
actually, this is probably still broken because https://github.com/rhinstaller/anaconda/pull/5053 didn't make it into F39 yet, and probably overlaps with https://bugzilla.redhat.com/show_bug.cgi?id=2232579 a bit. Not sure if we should mark one as a dupe of the other.

Comment 8 Jiri Konecny 2023-09-05 14:00:14 UTC
Please do, let's keep smaller number of bugs so it's easier to have overview. We can re-open it always.

Comment 9 Adam Williamson 2023-09-05 17:08:06 UTC
OK, let's assume this was a dupe of 2232579 and close it. Lukas, please re-open if there are actually still problems here.

*** This bug has been marked as a duplicate of bug 2232579 ***

Comment 10 Red Hat Bugzilla 2024-01-04 04:25:19 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days