esp8266_deauther icon indicating copy to clipboard operation
esp8266_deauther copied to clipboard

[🇮🇹] Italian language support

Open TheMiguelBi opened this issue 7 years ago • 5 comments

I've created Italian language support for the web interface. I think I did not understand how to update the program with the new language. I added the string to webfile.h: (But it is not enough).

   if (! SPIFFS.exists (String (F ("/ web / lang / en.lang.gz"))) || force) progmemToSpiffs (itlang, sizeof (itlang), String (F ("/ web / lang / en .lang.gz ")));

it.lang.gz

TheMiguelBi avatar Apr 05 '18 21:04 TheMiguelBi

Thank you for your contribution, I edited your comment for better code formatting and I'll let @spacehuhn answer to this part.

Is your knowledge of github good enough so you can submit a pull request with the two updated files (it.lang and it.lang.gz) or do you prefer to leave this task to the maintainers of this project ?

Submitting a pull request will make you appear in the contributors list so proper credit can be given.

tobozo avatar Apr 06 '18 06:04 tobozo

Just add the it.lang file to the web interface folder.I will do the rest and it will included in the next release :)

spacehuhn avatar Apr 06 '18 07:04 spacehuhn

Okay thank you! I have combined something, I think.
#788 and #789

TheMiguelBi avatar Apr 06 '18 15:04 TheMiguelBi

Grazie mille :-)

We'll only merge the #788 for the meantime, I'm doing Travis CI tests and it'll eventually get processed automatically.

Please don't close the pull request with the .gz file yet as I have no idea when Travis CI will be able to handle that ^^

tobozo avatar Apr 06 '18 15:04 tobozo

Perfect thanks! Now I can have the web interface in Italian!

(I'm noticing any missing capital letters... I will fix the it.lang file soon. Furthermore, the fifth "information" page has not yet been translated.).

TheMiguelBi avatar Apr 08 '18 11:04 TheMiguelBi