plugin-icon

Spelhubben Weather

Weather widget, Gutenberg block and shortcode with optional map and multi-provider forecasts.
Sürüm
1.9.8
Aktif kurulumlar
10
Son güncellenme
Feb 2, 2026
Spelhubben Weather

This plugin displays current weather and an optional forecast. It can aggregate data from free global weather providers (Open-Meteo, SMHI, Yr/MET Norway, FMI, Open-Weathermap, and Weatherapi.com) and compute a simple consensus. Works worldwide with excellent coverage in Europe and beyond.

FeaturesShortcode [spelhubben_weather], Gutenberg block, and classic widget6 Weather Providers: Open-Meteo, SMHI, Yr (MET Norway), FMI, Open-Weathermap, Weatherapi.com — enable any combination – Icon Themes: Classic, Modern Flat, Modern Gradient, Modern 2026, Modern 3D (selectable in admin settings) – Multiple Layouts: inline, compact, card, detailedDaily Forecast: 3–10 days customizable – Provider Comparison: Side-by-side data from all enabled providers – Leaflet Map: OpenStreetMap tiles with proper attribution (ODbL) – Wind direction display: Rotated arrow with cardinal labels (optional via show=wind_dir) – Local Icons: SVG icons (no CDN dependency), responsive scaling – Performance: 6-30x faster settings page, lazy-loaded plugin showcase, optimized caching – Fully GDPR Compliant: No cookies, no tracking, no personal data collection – Translation-Ready: English base strings, Swedish and Norwegian translations included

Not affiliated with Open-Meteo, SMHI, Yr/MET Norway, FMI, Leaflet, or OpenStreetMap. Names are used for descriptive purposes only. Map data © OpenStreetMap contributors (ODbL).

License

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

Full license text is included in the LICENSE file in the plugin root.

Feedback & Bug Reports

Feedback and bug reports can be posted here: https://github.com/K3NT4/spelhubben-weather/issues For common questions see the FAQ: https://github.com/K3NT4/spelhubben-weather/blob/main/Docs/FAQ.md For Roadmap: https://github.com/users/K3NT4/projects/2 License: GPLv3 or later License URI: https://www.gnu.org/licenses/gpl-3.0.html

Weather widget & block with optional map and daily forecast. Can combine Open-Meteo, SMHI, Yr/MET, FMI, Open-Weathermap, and Weatherapi.com data.

Translations

The plugin is fully translatable and includes built-in translations for Swedish (sv_SE) and Norwegian Bokmål (nb_NO).

How to translate the plugin

Option 1: Contribute to translate.wordpress.org (recommended) – Visit translate.wordpress.org – Select your language and add translations via the browser interface – Your translations will automatically be included in future releases

Option 2: Local translation files If you need to add or modify translations locally:

  1. Generate or update the POT file (translation template): wp i18n make-pot . languages/spelhubben-weather.pot --slug=spelhubben-weather

  2. Create a PO file for your language (e.g., spelhubben-weather-de_DE.po):

    • Copy the .pot file and rename to match your locale (e.g., de_DE)
    • Use a translation tool like Poedit or a text editor
    • Translate all strings in the PO file
    • Save the file as spelhubben-weather-de_DE.po
  3. Generate the MO file (compiled binary format): msgfmt spelhubben-weather-de_DE.po -o spelhubben-weather-de_DE.mo

  4. Place files in the plugin:

    • Store both .po and .mo files in /languages/
    • Also generate a .l10n.php file (WordPress 6.0+): wp i18n make-json languages/spelhubben-weather-de_DE.po --no-purge
  5. Activate your translation:

    • Change your WordPress language to match the locale code (Settings General Site Language)
    • The plugin will automatically load the translated strings

Translation file structure: languages/ spelhubben-weather.pot (template for all translations) spelhubben-weather-sv_SE.po (Swedish source text) spelhubben-weather-sv_SE.mo (Swedish compiled) spelhubben-weather-sv_SE.l10n.php spelhubben-weather-nb_NO.po (Norwegian source text) spelhubben-weather-nb_NO.mo (Norwegian compiled) spelhubben-weather-nb_NO.l10n.php

What gets translated: – All frontend strings (shortcode output, widget labels, weather descriptions, WMO codes) – Admin settings and UI labels – JavaScript strings (expand/collapse, status messages) – Error messages and notices

Best practices: – Use context clues in the POT file (msgctxt) to distinguish similar phrases – Test your translation in WordPress to ensure formatting and plurals work correctly – Check that translated UI aligns properly in your language (RTL vs LTR)

ÜcretsizBusiness paketinde
Kurulum işlemini tamamlayarak, WordPress.com'un Hizmet Şartları ile Üçüncü Taraf Eklenti Şartlarını kabul etmiş olursunuz.
Test edilen son sürüm
WordPress 6.9.1
Bu eklenti, sitenizde kullanılmak üzere indirilebilir.