Budgie Welcome is in a different language from the rest of the UI

I installed Ubuntu Budgie 20.04 LTS in English.

But the Budgie Welcome window (and it’s children – e.g. Budgie Themes & Layouts) are in my local language. (I guess it detected it from my geolocation? Or maybe my keyboard input language?) Either way, I’d like to change the language of these windows to English.

Please help!

Hi and welcome!

In a terminal what is the output of the following:

locale -a
budgie-welcome --debug

Hello!

Interestingly, it seems like when I run budgie welcome from the terminal, the UI shows in english. It’s only when running from the menu that it shows in a different language.

$ budgie-welcome --debug
[Debug] Running in debugging mode. 
[Welcome] Using /snap/ubuntu-budgie-welcome/352/usr/share/budgie-welcome/ path. 
[Welcome] Using /snap/ubuntu-budgie-welcome/352/usr/share/budgie-welcome/ path. 
[i18n] Locale Not Available: null (using en_US instead) 
[Welcome] Using /snap/ubuntu-budgie-welcome/352/usr/share/budgie-welcome/ path. 
[i18n] Locale Not Available: null (using en_US instead) 
[i18n] All translated i18n pages found. 
[i18n] res_dir:  
[i18n] Using locale for gettext: null 
[i18n] Using path for gettext: /usr/share/locale/ 
[i18n] Translation found for gettext. 
[Specs] Detecting graphics vendor...  
[Network Test] Establishing a connection test to "http://archive.ubuntu.com/" 
[Specs] Detected: Advanced Micro Devices, Inc. [AMD/ATI] Device 1638 (rev c5) 
[Welcome] Using /snap/ubuntu-budgie-welcome/352/usr/share/budgie-welcome/ path. 
[i18n] Locale Not Available: null (using en_US instead) 
[Welcome] Successfully pinged: http://archive.ubuntu.com/ 
[_load_changed_cb] uri: file:///snap/ubuntu-budgie-welcome/352/usr/share/budgie-welcome/index.html 
[_load_changed_cb] uri: file:///snap/ubuntu-budgie-welcome/352/usr/share/budgie-welcome/index.html 
[_load_changed_cb] uri: file:///snap/ubuntu-budgie-welcome/352/usr/share/budgie-welcome/index.html 
$ locale -a
C
C.UTF-8
en_AG
en_AG.utf8
en_AU.utf8
en_BW.utf8
en_CA.utf8
en_DK.utf8
en_GB.utf8
en_HK.utf8
en_IE.utf8
en_IL
en_IL.utf8
en_IN
en_IN.utf8
en_NG
en_NG.utf8
en_NZ.utf8
en_PH.utf8
en_SG.utf8
en_US.utf8
en_ZA.utf8
en_ZM
en_ZM.utf8
en_ZW.utf8
POSIX
pt_PT.utf8

Hi

That looks a little odd

What is the output of

locale charmap
locale
$ locale charmap
UTF-8
$ locale
LANG=en_GB.UTF-8
LANGUAGE=en_GB:en
LC_CTYPE=pt_PT.UTF-8
LC_NUMERIC=pt_PT.UTF-8
LC_TIME=pt_PT.UTF-8
LC_COLLATE="en_GB.UTF-8"
LC_MONETARY=pt_PT.UTF-8
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER=pt_PT.UTF-8
LC_NAME=pt_PT.UTF-8
LC_ADDRESS=pt_PT.UTF-8
LC_TELEPHONE=pt_PT.UTF-8
LC_MEASUREMENT=pt_PT.UTF-8
LC_IDENTIFICATION=pt_PT.UTF-8
LC_ALL=

Lastly can you run the following - python3 will take you into the interpreter - you just then need to type three lines shown:

python3
Python 3.9.7 (default, Sep 10 2021, 14:59:43) 
[GCC 11.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import locale
>>> locale.getlocale()
('en_GB', 'UTF-8')
>>> quit()

also

python3
Python 3.9.7 (default, Sep 10 2021, 14:59:43) 
[GCC 11.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import locale
>>> locale.getdefaultlocale()
('en_GB', 'UTF-8')
>>> quit()
>>> import locale
>>> locale.getlocale()
('pt_PT', 'UTF-8')
>>> locale.getdefaultlocale()
('pt_PT', 'UTF-8')

Yeah. Thought so. This is a known python bug where it is getting its locale information from the wrong locale environment variable.

It should be getting from LC_Messages … it is wrongly getting from LC_CTypes

This is fixed from 21.04 and later by the python version upgrade.

The only thing I can think of is that you should remove the PT language installed on your system and ensure you are defaulting to English.

The alternative is to run budgie welcome via the commandline

budgie-welcome --locale=en_GB.UTF-8