Skip to content

[Feature] Add original string behind DIRTY #9463

Description

@Frenzie

Is your feature request related to a problem? Please describe.

Given LLMs PRs will probably come with pre-generated translations more and more frequently and for the most part it even makes sense. Often you can just rubber-stamp 'em.

But anyway, currently that actually makes translating more laborious because then you have to go looking for the original string. Not a big deal when a real translation occasionally becomes DIRTY, but if every translation starts out as DIRTY it's a pain.

Use case

No response

Describe the solution you’d like

Add the original string in a comment, something like: // DIRTY - this is the original string

Describe alternatives you’ve considered

Disallow prefilling auto-generated translations.

Additional context

See #9449 as an example PR that does this.

Activity

  1. added theissue type on Oct 19, 2026
  2. added
    Feature Request
    on Oct 19, 2026
  3. Jgolding1998 commented on Nov 2, 2026

    @Jgolding1998
    Contributor

    I have a small formatter change for this ready locally. It adds the current English string after each DIRTY marker, handles additional plural forms, and keeps multiline text and PHP closing tags safe inside the comment. The existing locale updates are comment-only, with unchanged translation values, and the formatter remains idempotent. I also updated the generated contribution-search links so they still find these entries. I’ll open a PR with the tests and the Windows baseline comparison.

  4. added this to the 1.31.0 milestone on Nov 2, 2026
  5. added a commit that references this issue on Nov 2, 2026
    d03296f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature RequestI18n 🌍

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions