Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tasmotizer - Multi language support #75

Open
bovirus opened this issue Jan 16, 2021 · 11 comments
Open

tasmotizer - Multi language support #75

bovirus opened this issue Jan 16, 2021 · 11 comments

Comments

@bovirus
Copy link

bovirus commented Jan 16, 2021

@Jason2866

Using PO language file and xgettet it's possible to localize tasmotizer in several languages.

I already tested that it works.

If you are interested I can put all chanegs about it (also ina development branch)

It's the same system that we used to localize "DDT4ALL" github project

Use a "tools" folder where you can make the batch to create the template language file and align language files to template

Use a "local\xx" (where xx can be DE or IT or FR) subfolder where you can have the language files.

In .py Pyhton files replace es.

print ("Test")

with

print (_("test")

and "Test" string will be added to template file and can be localized.

@jziolkowski
Copy link
Member

make a PR and I'll have a look

@jziolkowski
Copy link
Member

please base it on develop-1.3 branch

@bovirus
Copy link
Author

bovirus commented Jan 16, 2021

@jziolkowski

OK: I will make a PR with general tool and some changes on basic string for GUI (Ex Serial port / etc).

Then you can check if it' works fine and we can go away.

Is it Ok for you?

It's quite strange that in github reposiotry release version is more updated then developer version.

Latest update for relase was 19 days ago (25.12.2020)
Laetst update on development 1.3 was on 19.09.2020.

@jziolkowski
Copy link
Member

Sure :)

@bovirus
Copy link
Author

bovirus commented Jan 16, 2021

@jziolkowski

The you confirm that I will make a PR n dev 1.3 also is less updated then release on github repository?

@jziolkowski
Copy link
Member

if you compare changes these are some very minor things. Make the PR anyway, I will take care of these differences when rebasing prior to new release.

@bovirus
Copy link
Author

bovirus commented Jan 16, 2021

Ok.

I will do as soon as.

@bovirus
Copy link
Author

bovirus commented Jan 17, 2021

@Jason2866

Done

PR #77

@bovirus
Copy link
Author

bovirus commented Feb 14, 2021

Any option to continue with the localization job?

@bovirus
Copy link
Author

bovirus commented Apr 2, 2021

Are there any plan about multilanguage GUI?

@Jason2866
Copy link
Contributor

Next planned feature is adding ESP32 support. Not saying there is a time schedule for.
Time is very rare for spending time on. If this is done multilanguage support is considered

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants