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.

    Language always English

    Scheduled Pinned Locked Moved Troubleshooting
    3 Posts 2 Posters 236 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.
    • R Offline
      Redrox
      last edited by

      Config:

      var config = {
      address: "localhost",
      port: 8080,
      ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"],
      language: "de",
      timeFormat: 24,
      units: "metric",
      
      modules: [
      .......
      

      MM runs normally all modules are working - but its all shown in English?
      This happens since I updated the MM yesterday. I did no changes in config.
      In the default calender module is only my first appointment in the language which I configured. Every other text from any module ist always english.

      Dont know what happens there - Idea?
      Console log:

      main.js:456 Initializing MagicMirror.
      
      translator.js:202 Loading core translation file: translations/de.json
      translator.js:225 Loading core translation fallback file: translations/en.json
      loader.js:179 Load script: modules/default/alert//alert.js
      module.js:479 Module registered: alert
      loader.js:150 Bootstrapping module: alert
      loader.js:179 Load script: modules/default/alert/classie.js
      loader.js:179 Load script: modules/default/alert/modernizr.custom.js
      loader.js:179 Load script: modules/default/alert/notificationFx.js
      loader.js:155 Scripts loaded for: alert
      loader.js:194 Load stylesheet: modules/default/alert/ns-default.css
      loader.js:194 Load stylesheet: vendor/css/font-awesome.css
      loader.js:157 Styles loaded for: alert
      translator.js:173 alert - Load translation: translations/de.json
      /home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/renderer/security-warnings.js:95 Electron Security Warning (Insecure Resources) This renderer process loads resources using insecure
      protocols.This exposes users of this app to unnecessary security risks.
      Consider loading the following resources over HTTPS or FTPS.
      
      http://localhost:8080/css/main.css
      http://localhost:8080/fonts/roboto.css
      http://localhost:8080/socket.io/socket.io.js
      http://localhost:8080/vendor/node_modules/nunjucks/browser/nunjucks.min.js
      http://localhost:8080/js/defaults.js
      http://localhost:8080/config/config.js
      http://localhost:8080/vendor/vendor.js
      http://localhost:8080/modules/default/defaultmodules.js
      http://localhost:8080/js/logger.js
      http://localhost:8080/translations/translations.js
      http://localhost:8080/js/translator.js
      http://localhost:8080/js/class.js
      http://localhost:8080/js/module.js
      http://localhost:8080/js/loader.js
      http://localhost:8080/js/socketclient.js
      http://localhost:8080/js/main.js
      http://localhost:8080/fonts/node_modules/roboto-fontface/fonts/roboto-condensed/Roboto-Condensed-Regular.woff2
      http://localhost:8080/translations/de.json
      http://localhost:8080/translations/en.json
      http://localhost:8080/modules/default/alert//alert.js
      http://localhost:8080/modules/default/alert/classie.js
      http://localhost:8080/modules/default/alert/modernizr.custom.js
      http://localhost:8080/modules/default/alert/notificationFx.js
      http://localhost:8080/modules/default/alert/ns-default.css
      http://localhost:8080/vendor/css/font-awesome.css
      http://localhost:8080/vendor/node_modules/@fortawesome/fontawesome-free/css/all.min.css
      http://localhost:8080/vendor/node_modules/@fortawesome/fontawesome-free/css/v4-shims.min.css
      For more information and help, consult
      https://electronjs.org/docs/tutorial/security.
      This warning will not show up
      once the app is packaged.
      warnAboutInsecureResources @ /home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/renderer/security-warnings.js:95
      logSecurityWarnings @ /home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/renderer/security-warnings.js:214
      loadHandler @ /home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/renderer/security-warnings.js:233
      /home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/renderer/security-warnings.js:145 Electron Security Warning (Insecure Content-Security-Policy) This renderer process has either no Content Security
      Policy set or a policy with "unsafe-eval" enabled. This exposes users of
      this app to unnecessary security risks.
      
      For more information and help, consult
      https://electronjs.org/docs/tutorial/security.
      This warning will not show up
      once the app is packaged.
      (anonymous) @ /home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/renderer/security-warnings.js:145
      Promise.then (async)
      warnAboutInsecureCSP @ /home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/renderer/security-warnings.js:139
      logSecurityWarnings @ /home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/renderer/security-warnings.js:218
      loadHandler @ /home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/renderer/security-warnings.js:233
      translator.js:175 alert - Load translation fallback: translations/en.json
      loader.js:159 Translations loaded for: alert
      loader.js:179 Load script: modules/default/updatenotification//updatenotification.js
      module.js:479 Module registered: updatenotification
      loader.js:150 Bootstrapping module: updatenotification
      loader.js:155 Scripts loaded for: updatenotification
      loader.js:157 Styles loaded for: updatenotification
      loader.js:159 Translations loaded for: updatenotification
      loader.js:179 Load script: modules/default/clock//clock.js
      module.js:479 Module registered: clock
      loader.js:150 Bootstrapping module: clock
      loader.js:179 Load script: vendor/node_modules/moment/min/moment-with-locales.js
      loader.js:179 Load script: vendor/node_modules/moment-timezone/builds/moment-timezone-with-data.js
      loader.js:179 Load script: vendor/node_modules/suncalc/suncalc.js
      loader.js:155 Scripts loaded for: clock
      loader.js:194 Load stylesheet: modules/default/clock/clock_styles.css
      loader.js:157 Styles loaded for: clock
      loader.js:159 Translations loaded for: clock
      loader.js:179 Load script: modules/default/calendar//calendar.js
      module.js:479 Module registered: calendar
      loader.js:150 Bootstrapping module: calendar
      loader.js:233 File already loaded: moment.js
      loader.js:155 Scripts loaded for: calendar
      loader.js:194 Load stylesheet: modules/default/calendar/calendar.css
      loader.js:233 File already loaded: font-awesome.css
      loader.js:157 Styles loaded for: calendar
      loader.js:159 Translations loaded for: calendar
      loader.js:179 Load script: modules/MMM-MyWeather//MMM-MyWeather.js
      module.js:479 Module registered: MMM-MyWeather
      loader.js:150 Bootstrapping module: MMM-MyWeather
      loader.js:233 File already loaded: moment.js
      loader.js:155 Scripts loaded for: MMM-MyWeather
      loader.js:194 Load stylesheet: vendor/node_modules/weathericons/css/weather-icons.css
      loader.js:194 Load stylesheet: vendor/node_modules/weathericons/css/weather-icons-wind.css
      loader.js:194 Load stylesheet: modules/MMM-MyWeather/MMM-MyWeather.css
      loader.js:157 Styles loaded for: MMM-MyWeather
      translator.js:173 MMM-MyWeather - Load translation: translations/de.json
      translator.js:175 MMM-MyWeather - Load translation fallback: translations/en.json
      loader.js:159 Translations loaded for: MMM-MyWeather
      loader.js:179 Load script: modules/MMM-BackgroundSlideshow//MMM-BackgroundSlideshow.js
      module.js:479 Module registered: MMM-BackgroundSlideshow
      loader.js:150 Bootstrapping module: MMM-BackgroundSlideshow
      loader.js:179 Load script: modules/MMM-BackgroundSlideshow/node_modules/exif-js/exif.js
      loader.js:179 Load script: modules/MMM-BackgroundSlideshow/node_modules/moment/moment.js
      loader.js:155 Scripts loaded for: MMM-BackgroundSlideshow
      loader.js:194 Load stylesheet: modules/MMM-BackgroundSlideshow/BackgroundSlideshow.css
      loader.js:157 Styles loaded for: MMM-BackgroundSlideshow
      loader.js:159 Translations loaded for: MMM-BackgroundSlideshow
      loader.js:179 Load script: modules/MMM-bringList//MMM-bringList.js
      module.js:471 Check MagicMirror version for module 'MMM-bringList' - Minimum version: 2.1.0 - Current version: 2.11.0
      module.js:473 Version is ok!
      module.js:479 Module registered: MMM-bringList
      loader.js:150 Bootstrapping module: MMM-bringList
      loader.js:155 Scripts loaded for: MMM-bringList
      loader.js:194 Load stylesheet: modules/MMM-bringList/mmm-bring-list.css
      loader.js:157 Styles loaded for: MMM-bringList
      loader.js:159 Translations loaded for: MMM-bringList
      loader.js:179 Load script: modules/calendar_monthly//calendar_monthly.js
      module.js:479 Module registered: calendar_monthly
      loader.js:150 Bootstrapping module: calendar_monthly
      loader.js:233 File already loaded: moment.js
      loader.js:155 Scripts loaded for: calendar_monthly
      loader.js:194 Load stylesheet: modules/calendar_monthly//css/mcal.css
      loader.js:194 Load stylesheet: modules/calendar_monthly//css/themes/block.css
      loader.js:157 Styles loaded for: calendar_monthly
      loader.js:159 Translations loaded for: calendar_monthly
      loader.js:179 Load script: modules/MMM-NowPlayingOnSpotify//MMM-NowPlayingOnSpotify.js
      module.js:479 Module registered: MMM-NowPlayingOnSpotify
      loader.js:150 Bootstrapping module: MMM-NowPlayingOnSpotify
      loader.js:179 Load script: modules/MMM-NowPlayingOnSpotify/core/NPOS_DomBuilder.js
      loader.js:233 File already loaded: moment.js
      loader.js:155 Scripts loaded for: MMM-NowPlayingOnSpotify
      loader.js:194 Load stylesheet: modules/MMM-NowPlayingOnSpotify/css/styles.css
      loader.js:179 Load script: modules/MMM-NowPlayingOnSpotify/node_modules/moment-duration-format/lib/moment-duration-format.js
      loader.js:233 File already loaded: font-awesome.css
      loader.js:157 Styles loaded for: MMM-NowPlayingOnSpotify
      loader.js:159 Translations loaded for: MMM-NowPlayingOnSpotify
      loader.js:194 Load stylesheet: css/custom.css
      alert.js:153 Starting module: alert
      updatenotification.js:14 Start updatenotification
      clock.js:45 Starting module: clock
      calendar.js:77 Starting module: calendar
      MMM-MyWeather.js:206 Starting module: MMM-MyWeather
      calendar_monthly.js:41 Starting module: calendar_monthly
      MMM-NowPlayingOnSpotify.js:18 Starting module: MMM-NowPlayingOnSpotify
      main.js:474 All modules started!
      
      1 Reply Last reply Reply Quote 0
      • S Away
        sdetweil
        last edited by

        look in the ~/MagicMirror/translations/de.json file, those are all the things for which translations are supplied

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        1 Reply Last reply Reply Quote 0
        • R Offline
          Redrox
          last edited by

          Last week it was all translated soo…

          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