Hola!

First, you need to ensure that you have Spanish set up on your "server": locale -a | grep -i es

The above command will list all the locales installed. From a quick web search, for Spain you will want to look for something like es_ES.utf8.

Assuming that it is es_ES.utf8, change the stanza as follows:

    [[new-belchertown]]
        # See wiki for configuration help: https://github.com/uajqq/weewx-belchertown-new/wiki
        skin = new-belchertown
        HTML_ROOT = public_html
        enable = true
        lang = es_ES.utf8
...

After making the change, restart weewx and start report generation: systemctl restart weewx; weectl report run

The above is what I do to get French pages.

Cheers!

---
pablo


On 2026-07-04 06:25, OrtegalNet wrote:
First of all, thank you very much for creating New Belchertown.

Although I've been tinkering with weather for over 20 years, until February of this year, I always used Cumulus and CumulusMX, at which point I decided to switch the software connected to my Davis Vantage Vue to weewx.

I've tried various skins, but I always ended up going back to the "simple" yet effective and rock-solid Seasons.

A week ago, I installed new-belchertown, and it works! However, I can't quite get the skin to be 100% in Spanish.

What's the method to "Spanishize" it? Because no matter how hard I try, sometimes I manage to make changes, but they seem to be temporary, because as soon as it updates a few times, the website reverts to showing the same footer (by default), and the graph names reappear in English again.

The text of the conditions and forecast below the icon/graph always appears in English.

What do I have to do to make it read the Spanish file?

Greetings from NW Spain.

El miércoles, 17 de junio de 2026 a las 20:12:58 UTC+2, Devonian escribió:

    I found a way to get the loop data as I would like it, after
    posting on github, I got a pointer.
    This is how it went...

    The simplest/least amount of converting was to set METRICWX for
    mqtt data as it otherwise defaulted to US units.
    For anyone else interested and as a reminder to my future self,
    here's what I did.

    In weewx.conf, add within MQTT stanza...

        [[MQTT]]
            unit_system = METRICWX

             [[[inputs]]]
                [[[[windSpeed]]]]
                    units = mile_per_hour

                [[[[windSpeed10]]]]
                    units = mile_per_hour

                [[[[windGust]]]]
                    units = mile_per_hour


    I still need to figure out why my web facing page doesn't load the
    live mqtt data....

    Nigel

    On Wednesday, 17 June 2026 at 08:19:39 UTC+1 R wrote:

        https://steepleclaydonweather.uk/ works and takes me to a
        landing page

        https://belchertown.steepleclaydonweather.uk/MQTTCloudflareTunnel/
        comes up with a 404 error when I hit the link in your original
        post. I thought it opened a document when I quickly looked at
        it a few days ago.

        On Wednesday, 17 June 2026 at 16:30:46 UTC+10 steepleian wrote:

            Just checked, it’s working for me. The link takes you to a
            landing page where you can select different skins.

            I did try an update to new-belchertown last night which
            virtually broke everything. The menu buttons and two
            hamburger buttons displaying all the time from wide screen
            to phone. MQTT connection also broke. In the end I had to
            roll all the way back to a pre June 13 version. I presume
            this problem is related to BootStrap changes.

            It would probably be better if beta changes were
            restricted to a development branch and not buried in the
            master branch.

            https://steepleclaydonweather.uk

            On 17 Jun 2026, at 03:57, R <[email protected]> wrote:

            Ian,

            Your link is giving me a 404 error, is it still available
            or has it moved?


            On Monday, 15 June 2026 at 19:47:44 UTC+10 steepleian wrote:

                If it is any help, I have created documentation on
                how to setup new-Belchertown MQTT using reverse proxy
                through a cloudflared tunnel. You can find it here: -
                Publishing Local Services Through a Cloudflare Tunnel
                — No Open Ports, with Cloudflare Access
                
<https://belchertown.steepleclaydonweather.uk/MQTTCloudflareTunnel/>
                belchertown.steepleclaydonweather.uk
                
<https://belchertown.steepleclaydonweather.uk/MQTTCloudflareTunnel/>
                        favicon.ico
                
<https://belchertown.steepleclaydonweather.uk/MQTTCloudflareTunnel/>


                
<https://belchertown.steepleclaydonweather.uk/MQTTCloudflareTunnel/>

                On 15 Jun 2026, at 03:46, John Smith
                <[email protected]> wrote:

                
                I just noticed you are only using the mqtt
                javascript from Cloudflare, in that cause you'll
                need to port forward on your router etc

                On Mon, 15 Jun 2026 at 12:43, John Smith
                <[email protected]> wrote:

                    You need to set the host and change the port, if
                    you open your website over the net then open the
                    console (F12 and click on the console tab) you
                    will see these errors

                        paho-mqtt.min.js:37 WebSocket connection to
                        'ws://wx:9001/mqtt' failed:


                    Since you seem to be using Cloudflare, the port
                    needs to be 80 for websocket or 443 for wss, and
                    the hostname needs to match whatever hostname
                    you are pointing to your mqtt server

                    On Mon, 15 Jun 2026 at 04:10, Devonian
                    <[email protected]> wrote:

                        I should add to my post above that Chrome
                        and MS Edge are happy with local (LAN)
                        connections and display live data, but not
                        over the web.

                        On Sunday, 14 June 2026 at 19:05:54 UTC+1
                        Devonian wrote:

                            I have installed New Belchertown and
                            basically have it running OK.
                            However, it is displaying US units and
                            what I would like is uk2 style.  That
                            is, a mix of metric and imperial, e.g.
                            wind speed in MPH and temperature in
                            Centigrade and rain in millimetres etc.
                            How can I achieve that as the mqtt loop
                            data is imperial (US)?
                            I'm likely missing something, but don't
                            want to meddle as this is above me now.
                            You can see it here:
                            http://www.nthead.co.uk/wx (for weewx)
                            and
                            http://www.nthead.co.uk/new-belchertown/
                            (for New-Belchertown) - Chrome and MS
                            Edge don't like to display the live/loop
                            data but Firefox and Safari are happy?!
                            Any ideas on both 'issues' above?

                            Regds,
                            Nigel

                            On Thursday, 11 June 2026 at 20:45:24
                            UTC+1 uajqq wrote:

                                There is a fix for this in the new
                                v2.1 beta.

                                On Wednesday, June 10, 2026 at
                                4:45:20 AM UTC-4 Anton Diedericks wrote:

                                    Good day,
                                    Another issue I picked up:
                                    As per attachment, this was not
                                    the case with the older
                                    Belchertown skin.
                                    This only affects sub-pages
                                    (Records, Charts, Reports,
                                    About) but not the Homepage.

                                    Regards
                                    Anton
                                    On Tuesday, 2 June 2026 at
                                    23:13:44 UTC+2 uajqq wrote:

                                        New Belchertown (the updated
                                        fork of the original
                                        Belchertown) v2.0 is now out
                                        with a refreshed card-based
                                        layout and tons of new
                                        features. Let me know what
                                        you think!

                                        
https://github.com/uajqq/weewx-belchertown-new

                                        Example site:
                                        https://www.uajqq.com/new-belchertown

-- You received this message because you are
                        subscribed to the Google Groups "weewx-user"
                        group.
                        To unsubscribe from this group and stop
                        receiving emails from it, send an email to
                        [email protected].
                        To view this discussion visit
                        
https://groups.google.com/d/msgid/weewx-user/e80069f1-5fc2-4d9a-b09d-dd312efcf7f7n%40googlegroups.com
                        
<https://groups.google.com/d/msgid/weewx-user/e80069f1-5fc2-4d9a-b09d-dd312efcf7f7n%40googlegroups.com?utm_medium=email&utm_source=footer>.

-- You received this message because you are subscribed
                to the Google Groups "weewx-user" group.
                To unsubscribe from this group and stop receiving
                emails from it, send an email to
                [email protected].
                To view this discussion visit
                
https://groups.google.com/d/msgid/weewx-user/CAGTinV5CXw4TOY6m3OnjF_c%3D_X6rnemaWQTBRMcx8uB00DmziA%40mail.gmail.com
                
<https://groups.google.com/d/msgid/weewx-user/CAGTinV5CXw4TOY6m3OnjF_c%3D_X6rnemaWQTBRMcx8uB00DmziA%40mail.gmail.com?utm_medium=email&utm_source=footer>.

-- You received this message because you are subscribed to
            the Google Groups "weewx-user" group.
            To unsubscribe from this group and stop receiving emails
            from it, send an email to [email protected].
            To view this discussion visit
            
https://groups.google.com/d/msgid/weewx-user/57097f4a-452a-4793-950a-00e53436c46en%40googlegroups.com
            
<https://groups.google.com/d/msgid/weewx-user/57097f4a-452a-4793-950a-00e53436c46en%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion visit https://groups.google.com/d/msgid/weewx-user/13ddf84a-16bd-4a52-97ea-0b2353127b36n%40googlegroups.com <https://groups.google.com/d/msgid/weewx-user/13ddf84a-16bd-4a52-97ea-0b2353127b36n%40googlegroups.com?utm_medium=email&utm_source=footer>.

--
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/weewx-user/f37561fd-aa44-4c9a-9029-39dac8a2bd41%40hillsandlakes.com.

Reply via email to