• Resolved lobogc

    (@lobogc)


    I have a multilingual website (WPML-powered) in Spanish (default language) and English. Your widget works great on the English page, showing the correct forecast for the setup location in Spain. However, the Spanish version ignores the location setup and shows your default forecast for New York City.

    You can browse the widget configuration at: https://pasteboard.co/GW6rele.png

    Note: at the frontend website (https://astrotemisas.probooking.es), please click on balloon icon at the bottom bar to show your widget.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Weather Atlas

    (@weatheratlas)

    Hello lobogc,
    interesting quirk.

    We’re looking into this and we’ll hopefully contact you soon with the solution.

    Plugin Author Weather Atlas

    (@weatheratlas)

    Hello again,

    we’ve noticed that location for Spanish version maybe isn’t set correctly.

    Please notice that
    city’s id in a bracket
    Agüimes ~ Spain (2082994)
    and shortcode below
    [shortcode-weather-atlas city_selector=2372139]
    are not the same.
    https://pasteboard.co/GW6rele.png

    * Widgets setting for the English version (below) is OK.

    Could you please try to change Spanish version to any other city
    (eg. Las Palmas de Gran Canaria ~ Espa?a)
    Make sure that both numbers (in a drop-down and a shortcode) are the same (2096663)

    Save and check if this fixed the issue.

    Please notice:
    1. Spanish version should show weather for Las Palmas de Gran Canaria, and English for Agüimes. If the problem is solved, choose again Agüimes for the Spanish version.

    2. You’re using WP Super Cache, either disable the plugin while testing or make sure cache is cleared every time you make a change in plugin’s settings.

    3. You have set the widget’s Header, so regardless of the chosen weather location, Title will be the same.
    The easiest way to check if the correct weather is displayed is to temporarily remove widget’s Header (until the issue is solved).
    Or check the checkbox for the detailed forecast (as you have done for English version). It will set the link for the detailed forecast. By clicking on the link you will see which forecast is being displayed.

    Thread Starter lobogc

    (@lobogc)

    Done as requested, and problem is solved. Thanks!

    Plugin Author Weather Atlas

    (@weatheratlas)

    Great,
    I’m glad we were able to resolve this issue.
    We’re here if you have any more questions.

    p.s.
    If you feel like it, drop us a line and rate the widget in the reviews. ; )
    https://www.ads-software.com/support/plugin/weather-atlas/reviews/#new-post

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Wrong forecast shown when language is switched’ is closed to new replies.