WordPress.org

Ready to get started?Download WordPress

Forums

ICIT Weather widget
Temperature errors on different language (2 posts)

  1. sondrek
    Member
    Posted 3 years ago #

    Hi,

    I have a problem using ICIT with Norwegian language.

    When switching language from the query variable "hl" in $url, helpers.php, I get wrong temperatures.
    The current (today) temp shows the correct number, but the 3 upcomming days are showing wrong temperatures.
    When testing the url in browser using hl=no, I get 7,3 and 5C for the next 3 days, while the plugin displays temperatures like -14, -13 etc.
    If I switch back to hl=en, the temperatures are displayed correct.

    I also tried this in compact mode. When in compact mode and hl=no, all temperatures - including today - are wrong.

    Any ideas?

    Thank you,
    Sondre

  2. sanchothefat
    Member
    Plugin Author

    Posted 3 years ago #

    Hi Sondre,

    Sorry for the delayed response - for future reference it's easier for us to support the plugin via our website post.

    We are aware of some issues with the google weather API returning incorrect values however it sounds like there might be something screwy with the farenheit conversion.

    Can you tell me if you are you displaying the temperature in celsius or farenheit?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic