Visitar URL original
Incorrect translation of the phrase "non-whitespace" · Issue #141 · mdn/translated-content-de · GitHub
Skip to content

Incorrect translation of the phrase "non-whitespace" #141

Open

Description

@mfranzke

MDN-URL

https://developer.mozilla.org/de/docs/Web/CSS/:-moz-first-node

Um welchen spezifischen Abschnitt oder welche Überschrift geht es bei diesem Problem?

Einleitung

Welche Informationen waren falsch, unhilfreich oder unvollständig?

The english sentence "It differs from :first-child because it does not match a first-child element with (non-whitespace) text before it." has been translated to "Sie unterscheidet sich von :first-child, da sie kein erstes Kindelement erfasst, dem (nicht-weißer) Text vorausgeht."

Was hast du erwartet zu sehen?

I would have expected that english phrase "non-whitespace" out of the sentence "It differs from :first-child because it does not match a first-child element with (non-whitespace) text before it." would been translated to e.g. "exklusive Leerzeichen", "außer Leerzeichen" or "exklusive Leerzeichen" or something similar, resulting in "Sie unterscheidet sich von :first-child, da sie kein erstes Kindelement erfasst, dem Text (außer Leerzeichen) vorausgeht."

Hast du irgendwelche unterstützenden Links, Referenzen oder Zitate?

No response

Hast du noch etwas, das du teilen möchtest?

No response

MDN-Metadaten

Page report details

Activity

  1. added
    needs triageTriage needed by staff and/or partners. Automatically applied when an issue is opened.
    on Oct 25, 2025
  2. caugner commented on Nov 19, 2025

    @caugner
    Contributor

    Meanwhile, the translation improved somewhat:

    Sie unterscheidet sich von :first-child, da sie kein erstes Kind-Element abgleicht, das (nicht-leeren) Text davor hat.

    I'm not sure "Leerzeichen" is ideal, because it's ambiguous (can mean space or whitespace), so an alternative might be to just use the English word ("Whitespace") for clarity. Obviously, the glossary entry for Whitespace should mention the original term as well, but the translation prompt has not been optimized for specific page types, such as glossary pages, and it does not use a translation glossary.

  3. added and removed
    needs triageTriage needed by staff and/or partners. Automatically applied when an issue is opened.
    on Nov 19, 2025
  4. mfranzke commented on Dec 15, 2025

    @mfranzke
    Author

    Meanwhile, the translation improved somewhat:

    Sie unterscheidet sich von :first-child, da sie kein erstes Kind-Element abgleicht, das (nicht-leeren) Text davor hat.

    I'm not sure "Leerzeichen" is ideal, because it's ambiguous (can mean space or whitespace), so an alternative might be to just use the English word ("Whitespace") for clarity. Obviously, the glossary entry for Whitespace should mention the original term as well, but the translation prompt has not been optimized for specific page types, such as glossary pages, and it does not use a translation glossary.

    @caugner thanks a lot for bringing this up. I needed to look up the exact technical terms, and mainly found the following two sources, that brought some more clarity:

    "Leerraumzeichen" seemed to be a good translation in the first place, but still only seem to refer to spaces (which to my understanding we'd like to avoid as we want to provide a reference to "whitespace" instead of "space", if I'm not mistaken). The best effort might be "Leerraum" according to the Wikipedia entry.

    What about providing both words, "Leerraum" and "Whitespace" in these brackets, is this something you do in MDN for clarity and even also providing a technical term in the translated language?
    Elsewhere I'm perfectly fine with only mentioning "Whitespace" as well; I was mainly confused by the initial translation, even though that I now understand it's background better after doing some further research.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions