Hi,

we use the German lang-Pack for this great module. But not all Conditions are translated.
There are descriptions like "Light Rain/Windy" or "Misty" that are not translated.
I can't find this description in the po-File, in the yahoo_weather_forecast.inc nor on the conditions code table on http://developer.yahoo.com/weather/.

So it would be great, if anyone has an idea, where to find a complete list or language-file.

Comments

mckramer’s picture

I'd be interested on what code was being used for those descriptions, because yahoo lists the codes and the descriptions here:

http://developer.yahoo.com/weather/#codes

The *.inc file draws its information from that link. If you come across a different description, I would be interested to see what code it matches with. You can check by using the link and checking the xml file yourself. Replace "WOEID" with your code.

http://weather.yahooapis.com/forecastrss?w=WOEID&u=c

The description is wrapped with the "t" function when it is taken from the database:

if ($show_options['current']) {
    $vars['current'] = t($weather_info['data']['condition']['text']);
}

So it might just not be translated yet. You might be able to add them yourselves. What *.po file are you working from?