Open Xfiles-de opened 2 years ago
would also love to see a configurable language support, could help with translation
in which language would you like to have it?
german, but I think its good to have a flexible system so the user can choose by settings
In the weather itself, the language must be inserted into apiGetData. https://openweathermap.org/current#multi I'll have to see how I solved this afterwards. You then get the weather in German with umlauts. The display does not support this. They also have to be changed for this.
To get the weather in different language sis quite simple; just add lang=
See: https://openweathermap.org/current#multi
Example: https://api.openweathermap.org/data/2.5/weather?id="city id"&appid="API key"&lang=de
@mats-nk Where exactly do I have to enter it? I can't find it anywhere thanks
contact me at the Discord server https://discord.gg/wZxaUYZR
Ok . Habe ich .--Diese Nachricht wurde von meinem Android Mobiltelefon mit WEB.DE Mail gesendet.Am 28.12.22, 20:30 schrieb Mats Karlsson @.***>:
contact me at the Discord server https://discord.gg/wZxaUYZR —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>
I just made a fork with a quick & dirty hack to translate everything to german: date and weather. https://github.com/soebbing/marquee-scroller-german
I think supporting multiple languages for the weather isn't the main issue: a small language-selector in the webinterface mapped to the Openweather-API parameter would almost suffice. Bur for a real multi-language version of this project, the date (months/weekdays) needs to be translated as well. I don't think the TimeLib that is being used supports multiple languages, so we maybe would need to create some sort of mapping-table from english to the selected language.
great . thank you . i am happy to help with translation .--Diese Nachricht wurde von meinem Android Mobiltelefon mit WEB.DE Mail gesendet.Am 09.01.23, 23:50 schrieb "Hendrik Söbbing" @.***>:
I just made a fork with a quick & dirty hack to translate everything to german: date and weather. https://github.com/soebbing/marquee-scroller-german I think supporting multiple languages for the weather isn't the main issue: a small language-selector in the webinterface mapped to the Openweather-API parameter would almost suffice. Bur for a real multi-language version of this project, the date (months/weekdays) needs to be translated as well. I don't think the TimeLib that is being used supports multiple languages, so we maybe would need to create some sort of mapping-table from english to the selected language. —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>
My fork has already been translated to German completely (at least everything that is usually being displayed is. The webinterface, error-/ and serial messages are still in English), but without any possibility to switch to another language. I simply translated the messages in the source code. Hence my "quick and dirty hack" comment :)
I would be willing to help with a more general solution, though, if there is interest and some support regarding how to implement translation for dates/date formats etc.
so far OK . have changed :Kpm in km/hThanks .Gregor--Diese Nachricht wurde von meinem Android Mobiltelefon mit WEB.DE Mail gesendet.Am 10.01.23, 00:29 schrieb "Hendrik Söbbing" @.***>:
My fork has already been translated to German completely (at least everything that is usually being displayed is. The webinterface, error-/ and serial messages are still in English), but without any possibility to switch to another language. I simply translated the messages in the source code. Hence my "quick and dirty hack" comment :) I would be willing to help with a more general solution, though, if there is interest and some support regarding how to implement translation for dates/date formats etc. —Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>
Hey David. Could the ad be translated into German? I already lift days and months. (Unfortunately not first day, then month) But I can't manage the weather, etc. :( It would be nice if you could help me. Thank you