https://github.com/yjg30737/pyqt-multi-language-example
Simple example of how to support multi language with JSON and python dictionary in PyQt
https://github.com/yjg30737/pyqt-multi-language-example
pyqt pyqt-examples pyqt5 pyqt5-desktop-application pyqt5-examples pyqt5-gui
Last synced: about 1 month ago
JSON representation
Simple example of how to support multi language with JSON and python dictionary in PyQt
- Host: GitHub
- URL: https://github.com/yjg30737/pyqt-multi-language-example
- Owner: yjg30737
- License: mit
- Created: 2023-07-12T05:41:07.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-09-07T06:23:36.000Z (over 1 year ago)
- Last Synced: 2025-03-27T00:54:55.785Z (about 2 months ago)
- Topics: pyqt, pyqt-examples, pyqt5, pyqt5-desktop-application, pyqt5-examples, pyqt5-gui
- Language: Python
- Homepage:
- Size: 8.79 KB
- Stars: 6
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pyqt-multi-language-example
Simple example of how to support multi language with JSON and python dictionary in PyQtNot to mention, PyQt5 needed
and i've used JSON file (don't use Qt Linguist or QTranslator, gettext or anything like that since it is hard to do and not so fluent, pretty much "prompt command hell" to me)
How to run? clone this and python main.py and baam that's it
You can add your own language to understand how this works :) Better be
https://github.com/yjg30737/pyqt-multi-language-example/assets/55078043/b29b7d63-175d-4d2f-8f62-801a338daa70
In this video the combobox popup is invisible because i took this with Windows recording feature not OBS studio or anything