This is a simple widget that will check whether your current keyboard language input. I created this widget to help me know which keyboard language is current while I do Duolingo exercises.
I am currently learning Mandarin Chinese on Duolingo and I needed a way to see which keyboard language input is current. For those that are unfamiliar Duolingo is a popular language learning application that has both a mobile app and web app. I mostly use the web app because I like to practice typing pinyin. As you do the excersises, it switches back and forth between typing english and pinyin. For mac users, there is a very easy keyboard shortcut to switch back and forth which is ctrl - spacebar. This works really well, but one issue I was having I would forget which keyboard is current. Now on a mac you can see which language is current if you look in the top right corner of the title bar, but it was a bit annoying having to look up every time. I wanted to have a small widget that could be right next to the input box. Currently the only a limited number of languages supported
- python >= 3.8.1
- tkinter >= 8.6
- tcl >= 8.6.8
- macOS 12.1 or higher*
*note: it most likely works on various versions of python and macOS, but this is what I have used to build and test the code
git clone https://github.com/tkozzer/detect-language.git
cd detect-language
python main.py
- Add an exit button
- Add more languages
- Spanish
- German
- Portugese
- Allow user to add Languages
- Be able to customize attributes
- Double click increases size of widget
- Double click increases font size
- Add tooltip to label that tell user to double click to increase size
- Add right clickability to customize functionality
- Add a right click menu with various options e.g. add/delete input languages
- Add quit application to right click menu
- Add 'set position' click option
- Add 'add new language' option
- Add a right click menu with various options e.g. add/delete input languages
- Add menubar class
- Customize the menubar class with various options
- Add rounded corners to widget for more modern look
- Add window resizing animation
- Make animation increase/decrease from middle out
- Add multiple python version compatibility
- Use Py2App to create a standalone app
- Add windows compatibility
- Create unit tests
- Create e2e tests
- Add a timer
- Allow user to enter words to study later
- Add the vocal words to a database