You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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.
Activity
Jgolding1998 commentedon Nov 2, 2026
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.
Add current English text to DIRTY translation comments (FreshRSS#9525)