Open
Description
What were you trying to do?
Switching language, expecting the global display language of Mu to change.
What steps did you take to trigger the issue?
- Start Mu Editor. Then
- Go to "Mu Configuration" on the bottom-right corner. Then
- Go to "Select Language" tab and choose a language different from system language. Then
- Press "OK" and restart the app. Then
- Observe that the UI language (tags for buttons, etc.) has changed but the status bar still remains the text in the original language. At the same time,
- The hover-popup label for "Mu Configuration" is in the wrong language.
What did you expect to happen?
Language should be changed globally and consistently.
What actually happened?
The UI language (tags for buttons, etc.) can be changed via the "Select Language" tab but the status bar is still left unchanged. So do some popup labels.
Proof:
Note the difference of the language between the text editor, the status bar and the buttons.
Operating System Version
Microsoft Windows 10, Version 1511
Mu Version
Mu 1.1.0b7
Other Info
Currently none. :)
Editor Log
2022-01-26 18:54:05,311 - root:269(run) INFO:
-----------------
Starting Mu 1.1.0b7
2022-01-26 18:54:05,311 - root:270(run) INFO: uname_result(system='Windows', node='PC-201401181607', release='10', version='10.0.10586', machine='AMD64', processor='Intel64 Family 6 Model 69 Stepping 1, GenuineIntel')
2022-01-26 18:54:05,358 - root:271(run) INFO: Platform: Windows-10-10.0.10586-SP0
2022-01-26 18:54:05,358 - root:272(run) INFO: Python path: ['C:\\Users\\[USERNAME REDACTED]]\\AppData\\Local\\Programs\\Mu Editor', 'C:\\Users\\[USERNAME REDACTED]]\\AppData\\Local\\Programs\\Mu Editor\\Python\\python38.zip', 'C:\\Users\\[USERNAME REDACTED]]\\AppData\\Local\\Programs\\Mu Editor\\Python\\DLLs', 'C:\\Users\\[USERNAME REDACTED]]\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib', 'C:\\Users\\[USERNAME REDACTED]]\\AppData\\Local\\Programs\\Mu Editor\\Python', 'C:\\Users\\[USERNAME REDACTED]]\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib\\site-packages', 'C:\\Users\\[USERNAME REDACTED]]\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib\\site-packages\\setuptools-57.4.0-py3.8.egg', 'C:\\Users\\[USERNAME REDACTED]]\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib\\site-packages\\pip-21.1.3-py3.8.egg', 'C:\\Users\\[USERNAME REDACTED]]\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib\\site-packages\\win32', 'C:\\Users\\[USERNAME REDACTED]]\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib\\site-packages\\win32\\lib', 'C:\\Users\\[USERNAME REDACTED]]\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib\\site-packages\\Pythonwin', 'C:\\Users\\[USERNAME REDACTED]]\\AppData\\Local\\Programs\\Mu Editor\\Python\\lib\\site-packages\\IPython\\extensions']
2022-01-26 18:54:05,358 - root:273(run) INFO: Language code: zh_CN
2022-01-26 18:54:05,358 - mu.settings:220(load) WARNING: No settings file found at C:\Users\[USERNAME REDACTED]]\AppData\Local\python\mu\settings.json; skipping
2022-01-26 18:54:05,443 - mu.virtual_environment:585(ensure_and_create) INFO: Added log handler.
2022-01-26 18:54:05,759 - mu.virtual_environment:596(ensure_and_create) DEBUG: Checking virtual environment; attempt #1.
2022-01-26 18:54:05,759 - mu.virtual_environment:685(ensure_path) INFO: Virtual Environment found at: C:\Users\[USERNAME REDACTED]]\AppData\Local\python\mu\mu_venv-38-20220126-182846
2022-01-26 18:54:05,759 - mu.virtual_environment:698(ensure_interpreter) INFO: Interpreter found at: C:\Users\[USERNAME REDACTED]]\AppData\Local\python\mu\mu_venv-38-20220126-182846\scripts\python.exe
2022-01-26 18:54:05,774 - mu.virtual_environment:429(run_subprocess) INFO: Running ('C:\\Users\\[USERNAME REDACTED]]\\AppData\\Local\\python\\mu\\mu_venv-38-20220126-182846\\scripts\\python.exe', '-c', 'import sys; print("%s%s" % sys.version_info[:2])') with kwargs {'shell': True}
2022-01-26 18:54:05,943 - mu.virtual_environment:441(run_subprocess) DEBUG: Process returned 0; output: 38
2022-01-26 18:54:05,943 - mu.virtual_environment:730(ensure_interpreter_version) INFO: Both interpreters at version 38
2022-01-26 18:54:05,943 - mu.virtual_environment:759(ensure_pip) INFO: Pip found at: C:\Users\[USERNAME REDACTED]]\AppData\Local\python\mu\mu_venv-38-20220126-182846\scripts\pip.exe
2022-01-26 18:54:05,943 - mu.virtual_environment:742(ensure_key_modules) DEBUG: Verifying import of: pgzero
2022-01-26 18:54:05,943 - mu.virtual_environment:429(run_subprocess) INFO: Running ('C:\\Users\\[USERNAME REDACTED]]\\AppData\\Local\\python\\mu\\mu_venv-38-20220126-182846\\scripts\\python.exe', '-c', 'import pgzero') with kwargs {'shell': True}
2022-01-26 18:54:06,112 - mu.virtual_environment:441(run_subprocess) DEBUG: Process returned 0; output:
2022-01-26 18:54:06,112 - mu.virtual_environment:742(ensure_key_modules) DEBUG: Verifying import of: flask
2022-01-26 18:54:06,112 - mu.virtual_environment:429(run_subprocess) INFO: Running ('C:\\Users\\[USERNAME REDACTED]]\\AppData\\Local\\python\\mu\\mu_venv-38-20220126-182846\\scripts\\python.exe', '-c', 'import flask') with kwargs {'shell': True}
2022-01-26 18:54:07,130 - mu.virtual_environment:441(run_subprocess) DEBUG: Process returned 0; output:
2022-01-26 18:54:07,130 - mu.virtual_environment:742(ensure_key_modules) DEBUG: Verifying import of: ipykernel
2022-01-26 18:54:07,130 - mu.virtual_environment:429(run_subprocess) INFO: Running ('C:\\Users\\[USERNAME REDACTED]]\\AppData\\Local\\python\\mu\\mu_venv-38-20220126-182846\\scripts\\python.exe', '-c', 'import ipykernel') with kwargs {'shell': True}
2022-01-26 18:54:08,355 - mu.virtual_environment:441(run_subprocess) DEBUG: Process returned 0; output:
2022-01-26 18:54:08,355 - mu.virtual_environment:742(ensure_key_modules) DEBUG: Verifying import of: ipython_genutils
2022-01-26 18:54:08,356 - mu.virtual_environment:429(run_subprocess) INFO: Running ('C:\\Users\\[USERNAME REDACTED]]\\AppData\\Local\\python\\mu\\mu_venv-38-20220126-182846\\scripts\\python.exe', '-c', 'import ipython_genutils') with kwargs {'shell': True}
2022-01-26 18:54:08,508 - mu.virtual_environment:441(run_subprocess) DEBUG: Process returned 0; output:
2022-01-26 18:54:08,508 - mu.virtual_environment:742(ensure_key_modules) DEBUG: Verifying import of: esptool
2022-01-26 18:54:08,508 - mu.virtual_environment:429(run_subprocess) INFO: Running ('C:\\Users\\[USERNAME REDACTED]]\\AppData\\Local\\python\\mu\\mu_venv-38-20220126-182846\\scripts\\python.exe', '-c', 'import esptool') with kwargs {'shell': True}
2022-01-26 18:54:08,794 - mu.virtual_environment:441(run_subprocess) DEBUG: Process returned 0; output:
2022-01-26 18:54:08,794 - mu.virtual_environment:628(ensure_and_create) INFO: Valid virtual environment found at C:\Users\[USERNAME REDACTED]]\AppData\Local\python\mu\mu_venv-38-20220126-182846
2022-01-26 18:54:08,794 - mu.settings:169(save) DEBUG: Saving to C:\Users\[USERNAME REDACTED]]\AppData\Local\python\mu\venv.json
2022-01-26 18:54:08,810 - mu.logic:768(__init__) INFO: Setting up editor.
2022-01-26 18:54:08,810 - mu.logic:789(__init__) INFO: Log directory: C:\Users\[USERNAME REDACTED]]\AppData\Local\python\mu\Logs
2022-01-26 18:54:08,810 - mu.logic:790(__init__) INFO: Data directory: C:\Users\[USERNAME REDACTED]]\AppData\Local\python\mu
2022-01-26 18:54:08,810 - mu.logic:804(setup) INFO: Available modes: python, circuitpython, microbit, esp, web, pyboard, debugger, pygamezero, lego, pico
2022-01-26 18:54:08,810 - mu.modes.base:61(get_default_workspace) INFO: Using workspace C:\Users\[USERNAME REDACTED]]\mu_code from settings file
2022-01-26 18:54:08,879 - mu.modes.base:61(get_default_workspace) INFO: Using workspace C:\Users\[USERNAME REDACTED]]\mu_code from settings file
2022-01-26 18:54:08,879 - mu.logic:1549(change_mode) INFO: Workspace directory: C:\Users\[USERNAME REDACTED]]\mu_code
2022-01-26 18:54:08,879 - mu.logic:878(restore_session) DEBUG: <SessionSettings from C:\Users\[USERNAME REDACTED]]\AppData\Local\python\mu\session.json>
2022-01-26 18:54:08,894 - mu.logic:900(restore_session) INFO: Loaded files.
2022-01-26 18:54:08,894 - mu.logic:906(restore_session) INFO: User defined environment variables: {}
2022-01-26 18:54:08,894 - mu.logic:911(restore_session) INFO: Minify scripts on micro:bit? False
2022-01-26 18:54:08,962 - mu.modes.base:61(get_default_workspace) INFO: Using workspace C:\Users\[USERNAME REDACTED]]\mu_code from settings file
2022-01-26 18:54:08,962 - mu.logic:1549(change_mode) INFO: Workspace directory: C:\Users\[USERNAME REDACTED]]\mu_code
2022-01-26 18:54:09,311 - mu.logic:962(restore_session) INFO: Starting with blank file.
2022-01-26 18:56:27,612 - mu.logic:1364(show_help) INFO: Showing help at 'https://codewith.mu/zh/help/1.1'.
2022-01-26 18:56:39,369 - mu.logic:1416(show_admin) INFO: Showing admin with logs from C:\Users\[USERNAME REDACTED]]\AppData\Local\python\mu\Logs\mu.log
2022-01-26 18:56:39,369 - mu.virtual_environment:922(installed_packages) INFO: Discovering installed third party modules in venv.
2022-01-26 18:56:39,369 - mu.virtual_environment:114(run_blocking) INFO: About to run blocking C:\Users\[USERNAME REDACTED]]\AppData\Local\python\mu\mu_venv-38-20220126-182846\scripts\pip.exe with args ['list', '--disable-pip-version-check'] and envvars {}
2022-01-26 18:56:40,874 - mu.virtual_environment:164(wait) DEBUG: Finished: True; exitStatus 0; exitCode 0
2022-01-26 18:56:40,874 - mu.virtual_environment:249(run) DEBUG: Process output: Package Version
----------------- -------
backcall 0.2.0
bitstring 3.1.9
cffi 1.15.0
click 8.0.3
colorama 0.4.4
cryptography 36.0.1
decorator 5.1.0
ecdsa 0.17.0
entrypoints 0.3
esptool 3.2
Flask 1.1.2
ipykernel 5.5.6
ipython 7.30.1
ipython-genutils 0.2.0
itsdangerous 2.0.1
jedi 0.18.1
Jinja2 3.0.3
jupyter-client 7.1.0
jupyter-core 4.9.1
MarkupSafe 2.0.1
matplotlib-inline 0.1.3
nest-asyncio 1.5.4
numpy 1.21.5
parso 0.8.3
pgzero 1.2.1
pickleshare 0.7.5
pip 21.3.1
prompt-toolkit 3.0.24
pycparser 2.21
pygame 2.1.0
Pygments 2.10.0
pyserial 3.5
python-dateutil 2.8.2
pywin32 303
pyzmq 22.3.0
reedsolo 1.5.4
setuptools 60.0.3
six 1.16.0
tornado 6.1
traitlets 5.1.1
wcwidth 0.2.5
Werkzeug 2.0.2
wheel 0.37.0
2022-01-26 18:56:40,874 - mu.virtual_environment:931(installed_packages) INFO: []