tasmotizer icon indicating copy to clipboard operation
tasmotizer copied to clipboard

tasmotizer - Multi language support

Open bovirus opened this issue 4 years ago • 11 comments

@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.

bovirus avatar Jan 16 '21 14:01 bovirus

make a PR and I'll have a look

jziolkowski avatar Jan 16 '21 14:01 jziolkowski

please base it on develop-1.3 branch

jziolkowski avatar Jan 16 '21 14:01 jziolkowski

@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.

bovirus avatar Jan 16 '21 14:01 bovirus

Sure :)

jziolkowski avatar Jan 16 '21 14:01 jziolkowski

@jziolkowski

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

bovirus avatar Jan 16 '21 14:01 bovirus

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.

jziolkowski avatar Jan 16 '21 14:01 jziolkowski

Ok.

I will do as soon as.

bovirus avatar Jan 16 '21 14:01 bovirus

@Jason2866

Done

PR https://github.com/tasmota/tasmotizer/pull/77

bovirus avatar Jan 17 '21 09:01 bovirus

Any option to continue with the localization job?

bovirus avatar Feb 14 '21 09:02 bovirus

Are there any plan about multilanguage GUI?

bovirus avatar Apr 02 '21 14:04 bovirus

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

Jason2866 avatar Apr 02 '21 15:04 Jason2866