Original PR: https://github.com/Flowseal/tg-ws-proxy/pull/1025 Author: @rozkomnadzor Created: 6/22/2026 Status: ✅ Merged Merged: 6/23/2026 Merged by: @Flowseal
Base: main ← Head: features/i18n
main
features/i18n
1f97414
57901ab
a8218e5
059b9cd
0c50d15
0937c80
4716077
9 files changed (+808 additions, -307 deletions)
📝 linux.py (+47 -30) 📝 ui/ctk_tray_ui.py (+213 -183) ➕ ui/i18n/__init__.py (+164 -0) ➕ ui/i18n/en.json (+148 -0) ➕ ui/i18n/ru.json (+148 -0) 📝 utils/default_config.py (+4 -1) 📝 utils/diagnostics.py (+5 -26) 📝 utils/tray_common.py (+19 -18) 📝 windows.py (+60 -49)
linux.py
ui/ctk_tray_ui.py
ui/i18n/__init__.py
ui/i18n/en.json
ui/i18n/ru.json
utils/default_config.py
utils/diagnostics.py
utils/tray_common.py
windows.py
Добавил возможность выбора языка в настройках
Для добавления новых локалей требуется добавить новый маппинг для языка и его локаль добавить в LocaleEnum (i18n/__init__.py::13)
Протестировано на win10, python3.11
Было несколько просьб добавить выбор языка https://github.com/Flowseal/tg-ws-proxy/issues/988 https://github.com/Flowseal/tg-ws-proxy/issues/941
-
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
No dependencies set.
The note is not visible to the blocked user.
📋 Pull Request Information
Original PR: https://github.com/Flowseal/tg-ws-proxy/pull/1025
Author: @rozkomnadzor
Created: 6/22/2026
Status: ✅ Merged
Merged: 6/23/2026
Merged by: @Flowseal
Base:
main← Head:features/i18n📝 Commits (7)
1f97414i18n57901abfix tray lang & lang refresha8218e5cleanup059b9cdenum locale0c50d15theme settings moved to interface section, removed auto system language0937c80fix & cleanup4716077lang and theme on single row📊 Changes
9 files changed (+808 additions, -307 deletions)
View changed files
📝
linux.py(+47 -30)📝
ui/ctk_tray_ui.py(+213 -183)➕
ui/i18n/__init__.py(+164 -0)➕
ui/i18n/en.json(+148 -0)➕
ui/i18n/ru.json(+148 -0)📝
utils/default_config.py(+4 -1)📝
utils/diagnostics.py(+5 -26)📝
utils/tray_common.py(+19 -18)📝
windows.py(+60 -49)📄 Description
Что сделано
Добавил возможность выбора языка в настройках
Для добавления новых локалей требуется добавить новый маппинг для языка и его локаль добавить в LocaleEnum (i18n/__init__.py::13)
Протестировано на win10, python3.11



Зачем
Было несколько просьб добавить выбор языка
https://github.com/Flowseal/tg-ws-proxy/issues/988
https://github.com/Flowseal/tg-ws-proxy/issues/941
Как проверить
-
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
[PR #1025] [MERGED] feature: i18nto [PR #1025] feature: i18n[PR #1025] feature: i18nto [PR #1025] [MERGED] feature: i18n