• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

MMM-OlympicGames

Scheduled Pinned Locked Moved Sport
olympic games2022olympic winter gamesolympiabeijing
41 Posts 15 Posters 18.1k Views 15 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    SirFM
    last edited by SirFM Feb 6, 2022, 4:21 PM Feb 6, 2022, 4:15 PM

    I’ve specified the en-US locale but the country names seem to be in Catalan.

    Capture d’écran 2022-02-06 111322.png

    Here is my config file

    {
                            module: "MMM-OlympicGames",
                            position: "top_left",
                            config: {
                                    // all your config options, which are different$
                                    locale: "en_US",
                                    highlight: "CA",
                                    maxRows: "10",
                                    reloadInterval: "3600000",
                                    provider: "nbc"
                                    }
                    }
    ```Edited to fix locale typo
    S 1 Reply Last reply Feb 6, 2022, 4:18 PM Reply Quote 0
    • S Offline
      sdetweil @SirFM
      last edited by sdetweil Feb 6, 2022, 4:18 PM Feb 6, 2022, 4:18 PM

      @sirfm I think the option is locale

      u have local

      computers are picky

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      S 1 Reply Last reply Feb 6, 2022, 4:20 PM Reply Quote 0
      • S Offline
        SirFM @sdetweil
        last edited by Feb 6, 2022, 4:20 PM

        @sdetweil Just saw that after posting and made the correction. Unfortunaly I get the same result with the typo corrected.

        K 1 Reply Last reply Feb 6, 2022, 4:22 PM Reply Quote 0
        • K Offline
          KristjanESPERANTO Module Developer @SirFM
          last edited by Feb 6, 2022, 4:22 PM

          @sirfm locale has to be direcly under config not in the module config: https://github.com/fewieden/MMM-OlympicGames/blob/master/.github/global.png

          S 1 Reply Last reply Feb 6, 2022, 4:28 PM Reply Quote 0
          • S Offline
            sdetweil @KristjanESPERANTO
            last edited by Feb 6, 2022, 4:28 PM

            @kristjanesperanto yes, but that impacts system wide.

            but looking at the code, you are correct

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            S 1 Reply Last reply Feb 6, 2022, 4:32 PM Reply Quote 0
            • S Offline
              SirFM @sdetweil
              last edited by Feb 6, 2022, 4:32 PM

              @sdetweil @KristjanESPERANTO
              My default locale is “ca-FR”. I don’t mind contributing to a transaltion file if needed.

              S 1 Reply Last reply Feb 7, 2022, 7:44 AM Reply Quote 0
              • S Offline
                strawberry 3.141 Project Sponsor Module Developer @SirFM
                last edited by strawberry 3.141 Feb 7, 2022, 7:44 AM Feb 7, 2022, 7:44 AM

                @sirfm the locale ca-FR represents Catalan (France) in your case it should be fr-CA for French (Canada).

                In general, the locale format is mostly language code - region code.

                There are some labels that could also be translated to french https://github.com/fewieden/MMM-OlympicGames/blob/master/translations/en.json

                Please create a github issue if you need help, so I can keep track

                1 Reply Last reply Reply Quote 0
                • S Offline
                  strawberry 3.141 Project Sponsor Module Developer
                  last edited by Feb 18, 2022, 5:46 AM

                  1.3.0

                  Added

                  • Added option for user to input list of countries to display, see config option countryList.
                  • Added French language translations.

                  Changed

                  • Uniform spelling for MagicMirror²
                  • Upgraded development dependencies
                  • Updated preview images

                  Link to module https://github.com/fewieden/MMM-OlympicGames

                  92fdfd7f-e3c2-4bb4-9928-a019b7f88872-image.png
                  f4597fdb-a2b6-4682-8fb2-f252eb7d9a7e-image.png

                  Please create a github issue if you need help, so I can keep track

                  S 1 Reply Last reply Mar 5, 2022, 3:49 AM Reply Quote 1
                  • S Offline
                    SirFM @strawberry 3.141
                    last edited by Mar 5, 2022, 3:49 AM

                    Is there any way that the module could be used for the Paralympics games?

                    S 1 Reply Last reply Mar 8, 2022, 7:50 AM Reply Quote 1
                    • S Offline
                      strawberry 3.141 Project Sponsor Module Developer @SirFM
                      last edited by Mar 8, 2022, 7:50 AM

                      @sirfm @KristjanESPERANTO I found an API

                      1.4.0

                      Added

                      • Data provider: paralympic

                      Changed

                      • Default provider: paralympic
                      • Default title: Paralympic Winter Games 2022

                      Link to module: https://github.com/fewieden/MMM-OlympicGames

                      Please create a github issue if you need help, so I can keep track

                      1 Reply Last reply Reply Quote 1
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 4 / 5
                      • First post
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy