-
-
Notifications
You must be signed in to change notification settings - Fork 303
Open
Description
I set Language to Chinese, that value in bottle.yml
is Language: zh_CN. Then table in explorer.exe shows random char

IF I modify Language: zh_CN to Language: zh_CN.UTF-8 in bottle.yml
with a text editor, the char display normally

But then options in bottle get empty

flatpak run com.usebottles.bottles
Log in console:
Traceback (most recent call last):
File "/app/share/bottles/bottles/frontend/views/list.py", line 119, in show_details
self.window.show_details_view(config=config)
File "/app/share/bottles/bottles/frontend/windows/window.py", line 334, in show_details_view
self.page_details.set_config(config or BottleConfig())
File "/app/share/bottles/bottles/frontend/views/details.py", line 201, in set_config
self.view_preferences.set_config(config=config)
File "/app/share/bottles/bottles/frontend/views/bottle_preferences.py", line 488, in set_config
ManagerUtils.get_languages(from_locale=self.config.Language, get_index=True)
File "/app/share/bottles/bottles/backend/utils/manager.py", line 398, in get_languages
raise ValueError("Given locale not in list.")
ValueError: Given locale not in list.
Metadata
Metadata
Assignees
Labels
No labels