digiampietro / adbtools2

Tools for hacking ADB Epicentro routers, including firmware modification and VOIP password recovery.
MIT License
43 stars 7 forks source link

Update files to enable multi-language interface #1

Closed bovirus closed 6 years ago

bovirus commented 6 years ago
digiampietro commented 6 years ago

I merged the pull request to the new branch "pytools-localized"

digiampietro commented 6 years ago

After merging the pull request I got some errors executing python scripts on Linux, Il will fix them before merging on the master branch.

bovirus commented 6 years ago

I tried to run .py file on Windows but I get on error about a module missing. I didn't do any changes on the modules. I modified only text strings.

digiampietro commented 6 years ago

I fixed all errors on confedit.py and fixed some other translations too.

By default the script will run with the default language of the OS but the user can change the language in the "Preference" menu.

Problem was related to the gettext module and correct initialization of the gettext environment.

I will fix this issue on other python scripts, "recompile" them to .exe and I will merge this branch with the master.