Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strange internalization behaviour for one-line format #1002

Open
molchalin opened this issue Jun 17, 2024 · 0 comments
Open

Strange internalization behaviour for one-line format #1002

molchalin opened this issue Jun 17, 2024 · 0 comments

Comments

@molchalin
Copy link

Hi! Thank you for the effort you put into this service. I like it really a lot. But recently I've faced strange behaviour

When I ask for the weather of German city in German, it returns me the description in English

curl -H 'Accept-Language: de' 'wttr.in/Karlsruhe?format=%C%t'
Patchy rain nearby+17°C

The same query for a different non-German city works fine:

curl -H 'Accept-Language: de' 'wttr.in/Moscow?format=%C%t'
Leichter Regen, rain with thunderstorm, squalls+20°C%  

And if I ask for the weather of German city in English, it returns me not that temperature, that I get in the first request:

curl -H 'Accept-Language: en' 'wttr.in/Karlsruhe?format=%C%t'
Partly cloudy+21°C%  
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant