Qrome / marquee-scroller

Marquee Scroller Clock News Weather and More
https://www.thingiverse.com/thing:2867294
MIT License
328 stars 159 forks source link

translate in German #202

Open Xfiles-de opened 2 years ago

Xfiles-de commented 2 years ago

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

phenomeus commented 2 years ago

would also love to see a configurable language support, could help with translation

Xfiles-de commented 2 years ago

in which language would you like to have it?

phenomeus commented 2 years ago

german, but I think its good to have a flexible system so the user can choose by settings

TimoMF commented 2 years ago

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.

mats-nk commented 1 year ago

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

Xfiles-de commented 1 year ago

@mats-nk Where exactly do I have to enter it? I can't find it anywhere thanks

mats-nk commented 1 year ago

contact me at the Discord server https://discord.gg/wZxaUYZR

Xfiles-de commented 1 year ago

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: @.***>

soebbing commented 1 year ago

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.

Xfiles-de commented 1 year ago

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: @.***>

soebbing commented 1 year ago

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.

Xfiles-de commented 1 year ago

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: @.***>