vitotai / BrewManiacEsp8266

BrewManiac on ESP8266. Only ESP8266 needed.
155 stars 71 forks source link

Multi-Language portugues-br #43

Open gumazza opened 5 years ago

gumazza commented 5 years ago

Hi, Vito.

Could you tell me what folder and file I can edit? I want to help you implement the Portuguese-BR language, since I saw that you have improved the OTA update system, giving you the option to choose a language.

arudmin commented 5 years ago

Take a look through localization folder.

vitotai commented 5 years ago

Copy english.json from the following folder: https://github.com/vitotai/BrewManiacEsp8266/tree/master/html.src/src/locales

Rename it to portuguese-br.json, and edit the file.

You might need to setup the environment and modify grunt file.coffee if you want to build by yourself.

Or you can send me the file.

gumazza commented 5 years ago

Thank you very much friends, I'll work on the files and upload here as soon as they are ready.

Cheers !!!

gumazza commented 5 years ago

https://github.com/vitotai/BrewManiacEsp8266/tree/master/localization Are they related to LCD?

If you keep everything within 20 lines, there will be no problems. Right?

vitotai commented 5 years ago

The localization is for WEB interface only.

Strings on LCD is located in resources.h. You will need to recompile it.

gumazza commented 5 years ago

That's what I want, translate the LCD of the WEB interface.

vitotai commented 5 years ago

(Sorry, I misunderstood.) The LCD of the WEB is exact the copy of LCD display. Current implementation discourages localization of it.

gumazza commented 5 years ago

Vito, can you provide me the package.json? It is necessary to install the npm and run the grunt. I did not understand how to configure this file.

vitotai commented 5 years ago

package.json.txt