Open ghost opened 4 years ago
Hi, yes I do believe that is a very good idea! I still have to add the necessary infrastructure to support multiple languages though. Also I already have other users who would be doing translations to Spanish, Russian, Danish, maybe Japanese and German (myself haha). So I will think about adding that language support soon, at least for the main UI!
You can inform US on this thread when you add?
Sure!
Please add Dutch also when you’re ready. I’m willing to do the translation.
I’m ready for Russian
Hi, yes I do believe that is a very good idea! I still have to add the necessary infrastructure to support multiple languages though. Also I already have other users who would be doing translations to Spanish, Russian, Danish, maybe Japanese and German (myself haha). So I will think about adding that language support soon, at least for the main UI!
and me for French
Good afternoon, is the theme still alive? Today I picked through the code. It was not difficult to translate the configuration pages, they are open in the IDE sketch. But how to translate the main screen, with control buttons. In the Arduino IDE, it is somehow encoded. The data folder contains html files, but changing their language does not affect anything. How to translate the program desktop correctly.
@Nikolay16700011 you'd need to edit the files in the data folder indeed, and after that run an npm command to encode the data for the sketch. No need to change anything in the .h files directly: https://github.com/Aircoookie/WLED/wiki/Add-own-functionality#changing-web-ui
Note that I'll still need to add a custom JSON infrastructure to support dynamic language switching. So you can translate it for your own use, but you won't be able to switch between it and the english version easily.
But when you plan add translation support ? I also can help with translation POLISH.
Thanks to Aircoookie, it worked!!! There was a problem with the settings page (settings.html), it had to be corrected manually. When translating the names of buttons other than English, symbols were displayed instead of letters on the buttons. At the top of the page code, I added the line < html>
. After that, everything was displayed normally. Recommendations for those who want to make this journey. Make all changes on one page, and immediately try to upload to ESP. To see the error in time. Then proceed to the next one. The names of the effects themselves need to be translated in the Arduino sketch, FX tab.h the names of the effects :const char JSON_mode_names[] The names of the color palettes: JSON_palette_names const char[].Still waiting possibility to translate
Still waiting possibility to translate
I'm well under way as described in #3180. Google Translate API gives a quick translation which can be tweaked.
Hi Maybe a good feature request will be add multilanguage ? I can support translation to POLISH language. What do you think ?