chubin / wttr.in

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

Update french translation #976

Open kleyeus opened 6 months ago

kleyeus commented 6 months ago

When i run fr.wttr.in nearly half of the weather conditions are still in english. See attached file : JSON French.json

I tried another language es.wttr.in and everything is translated in spanish as expected. See attached file : JSON Spanish.json

Comparing translation.txt, french translation txt's structure was different from spanish one so i copied spanish structure and put the old french translations in place.

torgeir commented 3 days ago

I believe there might be other issues causing a similar experience for more languages, it seems e.g. for nb (norwegian) that the correct translations do exist, but they are not used

> curl -s "https://nn.wttr.in/trondheim?format=j1" | jq '.current_condition[0].weatherCode'
"302"

Translation for 302 do exist for nb (norwegian), but still the result is in english

> curl -s "https://nb.wttr.in/trondheim?format=j1" | jq '.current_condition[0].lang_nb[0].value'
"Rain shower"