• 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-PoemOfTheDay show standard, but no german language!

Scheduled Pinned Locked Moved Entertainment
8 Posts 2 Posters 902 Views 2 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.
  • L Offline
    lolobyte
    last edited by Apr 9, 2022, 11:59 AM

    When trying to switch to German “de” language, pm log say’s:

    There was an error filteringByLanguage, returning all poems

    Any ideas?

    S 1 Reply Last reply Apr 9, 2022, 12:04 PM Reply Quote 0
    • S Offline
      sdetweil @lolobyte
      last edited by Apr 9, 2022, 12:04 PM

      @lolobyte the doc says you need another API key

      Screenshot_20220409-070336_Chrome.jpg

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      L 1 Reply Last reply Apr 9, 2022, 12:29 PM Reply Quote 0
      • L Offline
        lolobyte @sdetweil
        last edited by Apr 9, 2022, 12:29 PM

        @sdetweil

        Thank you for your quick response.

        Here is a part of my config…
        I have already inserted the api-key.

                        {
                                module: "MMM-PoemOfTheDay",
                                position: "lower_third",
                                config: {
                                        textLimit: 1000,
                                        lineLimit: 10,
                                        detectLanguageApiKey: "{xxxxxxxxxxxxxxxx}",
                                        languageSet: ["de"],    //["en", "es"]
                                        updateInterval: 120000,
                                        },
                        },
        
        
        S 1 Reply Last reply Apr 9, 2022, 12:37 PM Reply Quote 0
        • S Offline
          sdetweil @lolobyte
          last edited by Apr 9, 2022, 12:37 PM

          @lolobyte I don’t believe the apiKey should be in braces. that is usually used to indicate replacement from a variable

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          L 1 Reply Last reply Apr 9, 2022, 1:52 PM Reply Quote 0
          • L Offline
            lolobyte @sdetweil
            last edited by Apr 9, 2022, 1:52 PM

            @sdetweil

            ok, you’re right.

            The braces.

            Resolved.

            Thanks a lot.

            S 1 Reply Last reply Apr 9, 2022, 2:07 PM Reply Quote 1
            • S Offline
              sdetweil @lolobyte
              last edited by Apr 9, 2022, 2:07 PM

              @lolobyte I opened this issue on the module GitHub page

              https://github.com/Steven-Gassert/MMM-PoemOfTheDay/issues/13

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              L 1 Reply Last reply Apr 9, 2022, 4:45 PM Reply Quote 0
              • L Offline
                lolobyte @sdetweil
                last edited by Apr 9, 2022, 4:45 PM

                @sdetweil

                Good idea.
                I made it like the example on the github page.

                  detectLanguageApiKey: "{API_KEY}",
                
                S 1 Reply Last reply Apr 9, 2022, 4:45 PM Reply Quote 0
                • S Offline
                  sdetweil @lolobyte
                  last edited by Apr 9, 2022, 4:45 PM

                  @lolobyte I know, but that is incorrect…

                  my open issue asks to change the doc

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • 1 / 1
                  1 / 1
                  • First post
                    5/8
                    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