Kenshin9977 / video-dl

A GUI for yt-dlp that aims to simplify its usage.
MIT License
32 stars 7 forks source link

Multiple language support #5

Closed FtZPetruska closed 2 years ago

FtZPetruska commented 2 years ago

Description

This PR aims to add support for multiple languages that can be changed at runtime.

The following languages are planned to be added:

All the functionalities are brought by a new module lang.py which offers functions to get the current language, change the language, get the localized value of the desired GUI field.

When adding a new language, only the lang module needs to be modified as such:

When adding a new text element in the GUI, the lang module should be modified as such: