Foreca One Weather Plugin NEW (Lululla Make)

There are 425 replies in this Thread which was already clicked 48,997 times. The last Post () by Lululla.

    • Official Post

    I can see there are a few fixes – will there be an update to a new version for everyone once the testing is complete?

    Thanks and bye for now, everyone

    wait for test ;)

    • Official Post

    Screenshot_14-7-2026_14483_192.168.1.78.jpeg


    + major fix

    Quote

    Format cleanup in moon details and plugin Reformatted multiline expressions for readability in moon_details_screen.py and plugin.py.

    Consolidated long, indented format calls and adjusted parentheses/line breaks; moved some conditional formatting onto single lines.

    No functional changes were made — behavior preserved.



    v.1.2.9

  • It’s still not there when I try to update...


    Thanks and bye to you all

  • Dear Lululla,

    First of all, thank you for this fantastic plugin! It's one of the best weather plugins for Enigma2, and many of us really appreciate your work.

    The Issue:

    I have a specific use case that I believe many users would benefit from. I want to keep my Enigma2 box interface in English, but I would like to have the Foreca One plugin fully translated into Serbian (or any other language of choice).

    Currently, the plugin uses the trans() function (Google Translate) for some strings, which overrides the standard Enigma2 translation system (_()). This causes two problems:

    1. Weather descriptions (Clear, Cloudy, Overcast, etc.) are passed through Google Translate. For example, "Clear" is translated as "Delete" (from "clear" meaning "erase") instead of "Vedro" (weather context). This creates confusing and incorrect translations.
    2. The standard Enigma2 translation system is bypassed, so even if we place custom translations in the en/LC_MESSAGES/ folder (tricking Enigma2 into reading Serbian from the English locale), the trans() function still sends strings to Google Translate, causing unpredictable results.

    The Solution:

    I would like to kindly request a simple option in the plugin settings:

    text

    Code
    [ ] Enable Google Translate for weather descriptions


    or even better:

    text

    Code
    Plugin Language: [System Language] [English] [Serbian] [Custom]


    When this option is disabled, the plugin should only use the standard Enigma2 translation system:

    python

    Code
    # Current behavior (problematic):
    self["weather_description"].setText(trans(desc))
    
    # Desired behavior (when translation is disabled):
    self["weather_description"].setText(desc)  # Uses standard Enigma2 _() system


    This way:

    • Users who want automatic translations can keep Google Translate enabled.
    • Users who want full control over translations (like me, wanting Serbian while keeping the box in English) can disable it and use custom .po files.

    Why this is useful:

    1. Language independence: Users can have the box in one language and the plugin in another.
    2. Accurate translations: Weather terms can be translated correctly (Clear → Vedro, not Delete).
    3. Community contributions: Users can create and share their own high-quality translations without Google Translate interference.

    Technical implementation suggestion:

    Simply replace:

    python

    Code
    self["weather_description"].setText(trans(desc))


    with:

    python

    Code
    if config.plugins.foreca.enable_translation.value:    self["weather_description"].setText(trans(desc))
    else:    self["weather_description"].setText(desc)


    And add a ConfigBoolean option in the settings menu.

    Thank you for considering this request! Your plugin is already amazing, and this small change would make it perfect for many users around the world who want to customize their experience.

    Best regards,

    • New
    • Official Post

    It's very simple.

    Take your .po file from your country folder, edit it, and compile it into .mo.

    The program you need to use is poedit.

    • New
    • Official Post

    But how much more code would I have to add? Would we have to add more code and waste time?

    We've exhumed a dinosaur.

    I don't know if I want to do it or if I even feel like doing it.

Your source for Enigma2 weather plugins

Find downloads and support for tools that show detailed local forecasts, severe weather alerts, and animated radar displays on your device. Discover Enigma2 weather plugins for your receiver. Access downloads and support to display local forecasts and real-time weather information directly on screen.