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 1.0k 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.
    • lolobyteL Offline
      lolobyte
      last edited by

      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 Reply Quote 0
      • S Offline
        sdetweil @lolobyte
        last edited by

        @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

        lolobyteL 1 Reply Last reply Reply Quote 0
        • lolobyteL Offline
          lolobyte @sdetweil
          last edited by

          @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 Reply Quote 0
          • S Offline
            sdetweil @lolobyte
            last edited by

            @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

            lolobyteL 1 Reply Last reply Reply Quote 0
            • lolobyteL Offline
              lolobyte @sdetweil
              last edited by

              @sdetweil

              ok, you’re right.

              The braces.

              Resolved.

              Thanks a lot.

              S 1 Reply Last reply Reply Quote 1
              • S Offline
                sdetweil @lolobyte
                last edited by

                @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

                lolobyteL 1 Reply Last reply Reply Quote 0
                • lolobyteL Offline
                  lolobyte @sdetweil
                  last edited by

                  @sdetweil

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

                    detectLanguageApiKey: "{API_KEY}",
                  
                  S 1 Reply Last reply Reply Quote 0
                  • S Offline
                    sdetweil @lolobyte
                    last edited by

                    @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
                    • 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