Closed joao-vitor-souza closed 1 year ago
Do not merge to master, merge to dev
Wow! Really amazing!! I will try to modify this a little that it also supports the files in the folder "WebUI\languages". Really amazing! Thanks a lot!!
Works really amazing!! Do you have some languages you would like to have supported in fun-bots? I just added japanes on the dev-branch.
Works really amazing!! Do you have some languages you would like to have supported in fun-bots?
Portuguese; I'm gonna review pt_PT.lua
and make a PR.
added it to the current dev-commit. It's really amazing!
Please also review pt_PT.js
in webUI/languages...
Running
python3 auto_translate.py xx
inside thefun-bots/ext/Shared/Languages/auto_translate
directory will now create the filexx_XX.lua
infun-bots/ext/Shared/Languages
. For example, runningpython3 auto_translate.py ja
wiil create the fileja_JA.lua
that looks like this:This will help you guys with the overall translation, now a person that wants to translate
DEFAULT.lua
to his language can run this script and then only review the results, there's no need to translate line by line anymore.Obs: The script needs to parse and translate more than 300 lines, so the process may take some seconds to complete.