chubin / wttr.in

:partly_sunny: The right way to check the weather
https://wttr.in
Apache License 2.0
24.46k stars 1.1k forks source link

Localized weather data #10

Open pylerSM opened 8 years ago

pylerSM commented 8 years ago

Is it possible? Perharbs as auto detection/ "-locale_code" argument?

If weather server does not provide it, we can translate it manually I think.

chubin commented 8 years ago

Yes, I have such plans, and I will ask for help in twiiter (but not yet)

rcspam commented 8 years ago

I use a workaround to display weather in my language (french): I pipe curl output in a sed file: $ curl http://wttr.in 2>/dev/null | sed -f wttr_sed_file You can adapt it for your language easily. You completed it as work progresses. Here is the link to download it. Warning, You need to download it, do not copy/paste from your browser because of escape characters in it. A screenshot:

Uploading screenshot--.png…

schachmat commented 7 years ago

Heyho @chubin,

I just noticed your wttr.in instance already has localization support, but I can not find the code in the repository. Could you add it? People can better help with the translations then.