Skip to content

Simple example of how to support multi language with JSON and python dictionary in PyQt

License

Notifications You must be signed in to change notification settings

lolminiyt/pyqt-multi-language-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyqt-multi-language-example

Simple example of how to support multi language with JSON and python dictionary in PyQt

Not 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

Translation.Example.2023-07-12.14-47-38.mp4

In this video the combobox popup is invisible because i took this with Windows recording feature not OBS studio or anything

About

Simple example of how to support multi language with JSON and python dictionary in PyQt

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%