Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Entwicklung
  4. Gulp ist kein Hexenwerk - Auto translation

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    17
    1
    400

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    4.9k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.4k

Gulp ist kein Hexenwerk - Auto translation

Scheduled Pinned Locked Moved Entwicklung
26 Posts 9 Posters 4.3k Views 8 Watching
  • 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.bormannS s.bormann

    Hi,
    bei mir läuft die Übersetzung irgendwie nicht mehr richtig. Habe jetzt schon echt viel probiert, aber komme nicht weiter.

    Was problemlos klappt, ist die Übersetzung von io-package.json.

    Aber neue Wörter in den i18n-Dateien im admin-Ordner werden nicht mehr übersetzt:
    Ich habe neue Übersetzungen in den translations.json für deutsch und englisch eingefügt. Wenn ich dann gulp drüberlaufen lasse, werden in den anderen Sprachen für die entsprechenden Begriffe immer nur zwei Anführungszeichen eingefügt, nicht die Übersetzung.

    Habe mit viel Mühe alle leeren Übersetzungen wieder gelöscht und alles noch mal neu probiert - gleiches Ergebnis. Mit google und mit Yandex.

    Kann mir jemand helfen?

    Anbei meine i18n-Dateien.

    translations.zip

    Vielen Dank!

    MicM Offline
    MicM Offline
    Mic
    Developer
    wrote on last edited by
    #21

    @s-bormann sagte in Gulp ist kein Hexenwerk - Auto translation:

    werden in den anderen Sprachen für die entsprechenden Begriffe immer nur zwei Anführungszeichen eingefügt, nicht die Übersetzung.

    Gib uns mal ein konkretes Beispiel. Ich habe kurz deine spanische translations.json angesehen, da sind keine leeren Übersetzungen mit "".

    s.bormannS 1 Reply Last reply
    0
    • MicM Mic

      @s-bormann sagte in Gulp ist kein Hexenwerk - Auto translation:

      werden in den anderen Sprachen für die entsprechenden Begriffe immer nur zwei Anführungszeichen eingefügt, nicht die Übersetzung.

      Gib uns mal ein konkretes Beispiel. Ich habe kurz deine spanische translations.json angesehen, da sind keine leeren Übersetzungen mit "".

      s.bormannS Offline
      s.bormannS Offline
      s.bormann
      Most Active
      wrote on last edited by
      #22

      @Mic Richtig, ich habe die Dateien alle von Hand "bereinigt", weil ich dachte, so das Problem lösen zu können. Nach einem erneuten Durchlauf von gulp sieht das dann so aus (Datei gekürzt, aber die letzten beiden Zeilen zeigen das Problem):

      {
          "%s is directory. Only file upload allowed.": "% s es el directorio. ",
          "(Default)": "(Defecto)",
          "(None)": "(Ninguna)",
          "(before sending a state a confirmation-box is showed)": "(antes de enviar un estado se muestra un cuadro de confirmación)",
          "(before sending a state you have to enter this code)": "(antes de enviar un estado, debe ingresar este código)",
          "(if you have different data points for the actual and the target value)": "(si tiene diferentes puntos de datos para el valor real y el valor objetivo)",
          "(overwrites common.role property)": "(sobrescribe la propiedad common.role)",
          "(overwrites common.type property)": "(sobrescribe la propiedad common.type)",
          "(this is only supported for booleans and for numbers with defined min and max)": "(esto solo se admite para booleanos y para números con mínimo y máximo definidos)",
          "(this is only supported for numbers)": "(esto solo es compatible con números)",
          "A 'Linked View' can be opened by a simple click at the following roles": "Una 'Vista vinculada' se puede abrir con un simple clic en los siguientes roles",
          "Acknowledged": "Reconoció",
          "Active Background Color:": "Activo - Color de fondo:",
          "Active Background-Color:": "Activo - Color de fondo:",
          "Active Devices - Background-Color:": "Dispositivos activos - Color de fondo:",
          "Active Devices - Background-Opacity:": "Dispositivos activos - Opacidad de fondo:",
          "Active Devices - Background:": "Dispositivos activos - Antecedentes:",
          "Active Devices - Overlay-Color:": "Dispositivos activos - Superposición de color:",
          "Active Devices - Overlay-Opacity:": "Dispositivos activos - Overlay-Opacity:",
          "Active Devices - Overlay:": "Dispositivos activos - Superposición:",
          "Active Devices, Hover - Background-Color:": "",
          "Active Devices, Hover - Background-Opacity:": "",
      ...
      

      Die vollständige Datei kann hier angesehen werden: https://github.com/sbormann/ioBroker.iqontrol/blob/master/admin/i18n/es/translations.json

      Gibt es eine Art "Verbose"-Mode bei Gulp?

      MicM 1 Reply Last reply
      0
      • s.bormannS s.bormann

        @Mic Richtig, ich habe die Dateien alle von Hand "bereinigt", weil ich dachte, so das Problem lösen zu können. Nach einem erneuten Durchlauf von gulp sieht das dann so aus (Datei gekürzt, aber die letzten beiden Zeilen zeigen das Problem):

        {
            "%s is directory. Only file upload allowed.": "% s es el directorio. ",
            "(Default)": "(Defecto)",
            "(None)": "(Ninguna)",
            "(before sending a state a confirmation-box is showed)": "(antes de enviar un estado se muestra un cuadro de confirmación)",
            "(before sending a state you have to enter this code)": "(antes de enviar un estado, debe ingresar este código)",
            "(if you have different data points for the actual and the target value)": "(si tiene diferentes puntos de datos para el valor real y el valor objetivo)",
            "(overwrites common.role property)": "(sobrescribe la propiedad common.role)",
            "(overwrites common.type property)": "(sobrescribe la propiedad common.type)",
            "(this is only supported for booleans and for numbers with defined min and max)": "(esto solo se admite para booleanos y para números con mínimo y máximo definidos)",
            "(this is only supported for numbers)": "(esto solo es compatible con números)",
            "A 'Linked View' can be opened by a simple click at the following roles": "Una 'Vista vinculada' se puede abrir con un simple clic en los siguientes roles",
            "Acknowledged": "Reconoció",
            "Active Background Color:": "Activo - Color de fondo:",
            "Active Background-Color:": "Activo - Color de fondo:",
            "Active Devices - Background-Color:": "Dispositivos activos - Color de fondo:",
            "Active Devices - Background-Opacity:": "Dispositivos activos - Opacidad de fondo:",
            "Active Devices - Background:": "Dispositivos activos - Antecedentes:",
            "Active Devices - Overlay-Color:": "Dispositivos activos - Superposición de color:",
            "Active Devices - Overlay-Opacity:": "Dispositivos activos - Overlay-Opacity:",
            "Active Devices - Overlay:": "Dispositivos activos - Superposición:",
            "Active Devices, Hover - Background-Color:": "",
            "Active Devices, Hover - Background-Opacity:": "",
        ...
        

        Die vollständige Datei kann hier angesehen werden: https://github.com/sbormann/ioBroker.iqontrol/blob/master/admin/i18n/es/translations.json

        Gibt es eine Art "Verbose"-Mode bei Gulp?

        MicM Offline
        MicM Offline
        Mic
        Developer
        wrote on last edited by
        #23

        @s-bormann
        Ok, in deinem zip-Beispiel steht z.B. in en\translations.json drin:

                "add": "add",
                "and": "and",
                "black": "black",
                "bottom": "bottom",
                "closed": "closed",
                "iqontrol adapter settings": "Adapter settings for iqontrol",
                "is only available for": "is only available for",
                "left": "left",
                "opened": "opened",
                "right": "right",
                "tilted": "tilted",
                "top": "top",
                "white": "white"
        
        

        Zip-Beispiel es\translations.json

            "add": "añadir",
            "and": "y",
            "black": "negro",
            "bottom": "fondo",
            "iqontrol adapter settings": "Ajustes del adaptador para iqontrol",
            "is only available for": "solo esta disponible para",
            "left": "izquierda",
            "right": "Correcto",
            "top": "parte superior",
            "white": "blanco"
        }
        

        Z.B. "closed" fehlt also.

        Ich lasse laufen: gulp translateAndUpdateWordsJS

        Ergebnis: closed wird übersetzt und hinzugefügt:
        7638ce61-a1ff-41e7-93fe-40be4affe87d-image.png

        Kann es also nicht nachvollziehen.

        1 Reply Last reply
        0
        • MicM Offline
          MicM Offline
          Mic
          Developer
          wrote on last edited by Mic
          #24

          Ach ja: verwendetes gulpfile.js Datum 2019-01-28.

          Überprüfe mal deine gulpfile.js, die vom verlinkten Adapter weicht ab (obwohl selbes Datum) zu meiner vom Adapter Creator, z.B.:
          a100da19-72ae-44a9-a1d8-d5881ba84aea-image.png

          Siehe im Attachment mein verwendetes gulpfile.gulpfile.zip

          s.bormannS 1 Reply Last reply
          0
          • MicM Mic

            Ach ja: verwendetes gulpfile.js Datum 2019-01-28.

            Überprüfe mal deine gulpfile.js, die vom verlinkten Adapter weicht ab (obwohl selbes Datum) zu meiner vom Adapter Creator, z.B.:
            a100da19-72ae-44a9-a1d8-d5881ba84aea-image.png

            Siehe im Attachment mein verwendetes gulpfile.gulpfile.zip

            s.bormannS Offline
            s.bormannS Offline
            s.bormann
            Most Active
            wrote on last edited by
            #25

            @Mic Ha, danke, das wars! Mit Deinem Gulpfile läuft es!! Danke!!

            MicM 1 Reply Last reply
            0
            • s.bormannS s.bormann

              @Mic Ha, danke, das wars! Mit Deinem Gulpfile läuft es!! Danke!!

              MicM Offline
              MicM Offline
              Mic
              Developer
              wrote on last edited by
              #26

              @s-bormann
              Gern geschehen, freut mich dass das die Lösung war.

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              Support us

              ioBroker
              Community Adapters
              Donate

              359

              Online

              32.7k

              Users

              82.5k

              Topics

              1.3m

              Posts
              Community
              Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
              ioBroker Community 2014-2025
              logo
              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Home
              • Recent
              • Tags
              • Unread 0
              • Categories
              • Unreplied
              • Popular
              • GitHub
              • Docu
              • Hilfe