BrewPiLess icon indicating copy to clipboard operation
BrewPiLess copied to clipboard

Translation!

Open Neca-Grof opened this issue 4 years ago • 10 comments

Hello Everyone! I would like to translate the complete program into Serbian, all commands and the complete web interface, as well as messages on the LCD screen. I use a windows computer. can someone explain to me how to translate ?? Thanks!

Neca-Grof avatar Apr 16 '22 17:04 Neca-Grof

https://github.com/vitotai/BrewPiLess/wiki/Localization-of-web-pages

dumpamob avatar Apr 22 '22 15:04 dumpamob

I use windows os, so I don't have the ability to change the language, footer and header ... I use ms visual studio code, when I click build, upload, there are no changes, I'm still in English. any solution?

Neca-Grof avatar Apr 24 '22 18:04 Neca-Grof

...just translate the json file and send it to me (Vito Tai). (Or, submit an issue with attached translated file, I guess.).

Translate the file and attach it here (dragging & dropping). Check @vitotai that soon he will make an update generating the translation, it's not just creating the file, you have to generate the language files.

dumpamob avatar Apr 24 '22 18:04 dumpamob

Surely it works for me, on Mac.

vitotai avatar Apr 29 '22 06:04 vitotai

oh, I don't have mac, I use windows computer :(

Neca-Grof avatar Apr 30 '22 08:04 Neca-Grof

...just translate the json file and send it to me (Vito Tai). (Or, submit an issue with attached translated file, I guess.).

Translate the file and attach it here (dragging & dropping). Check @vitotai that soon he will make an update generating the translation, it's not just creating the file, you have to generate the language files.

I would like to learn the procedure of generating the language files myself! :)

Neca-Grof avatar Apr 30 '22 08:04 Neca-Grof

Follow the directions in https://github.com/vitotai/BrewPiLess/wiki/Localization-of-web-pages

If you successfully generate the html files in dist directory, you can upload it to verify. The last step is just to generate header files so that the htmls are embedded.

vitotai avatar Apr 30 '22 09:04 vitotai

I worked exactly according to that instruction! the wakanda folder has appeared and contains html files. when I click on the bug icon in vs code, then on esp8266 - bulid -upload, there is no change in the language. I'm wrong somewhere.

Neca-Grof avatar May 01 '22 08:05 Neca-Grof

It's uploading by file manager. Try browse to "http://[your BPL IP]:8008/filemanager and upload the gzipped html file.

vitotai avatar May 01 '22 09:05 vitotai

Thanks! I do that, but it don't work... still on english...

Neca-Grof avatar May 03 '22 09:05 Neca-Grof