id-tagging-schema: transifex's "fillup" causing chaos for en-* translations
This has already been reported in https://github.com/openstreetmap/iD/issues/7508#issuecomment-2731292331 but we need a separate issue to track this ongoing issue
Transifex seems to be behaving weirdly with the en_* translations.
Recently it recorded @k-yle as making a translation to en_AU which he says he’s never had permission to edit.
Then also I apparently edited en_GB which I don’t think I’ve ever gone into.
[…]
(@andrewharvey in https://github.com/openstreetmap/iD/issues/7508#issuecomment-2731292331)
Specific example:
- In March 2022, I added “Dairy” as the
en-NZtranslation of ‘Convenience Store’[1] - In November 2024, somehow this change was synced to en-CA[2]. Even weirder, the edit was apparently authored by me![2], even though I don’t have permission to edit
en-CA[4] 🤨 - In March 2025, the changes were synced into github for
en-CA: https://github.com/openstreetmap/id-tagging-schema/blob/26abac80e1fb97219253e7e2cd0fd6628ddcb831/dist/translations/en-CA.json#L8217
Possibly related:
See also: openstreetmap/id-tagging-schema@defe6cb#commitcomment-153871643
Since the most recent release, it’s impossible to review the changes to
en-*.json, because those files now transclude every untranslated string from the base language.(@k-yle in https://github.com/openstreetmap/iD/issues/7508#issuecomment-2731430108)
This forced me to hack together this tool to review partially translated languages.
Looking through the diff in that tool, there’s a lot of other weird stuff. For example, en-NZ now has:
- 40, 50, 60...
+ 40 mph, 50 mph, 60 mph...
which was ostensibly added by @arrival-spring in Novemeber 2024[3], but that’s impossible, because @arrival-spring doesn’t have permission to edit en-NZ[5]…
About this issue
- Original URL
- State: open
- Created 2 years ago
- Reactions: 2
- Comments: 19 (11 by maintainers)
nice,
same_source_and_translationis better than mydocument.querySelectorhack 😆👍 to this, that’s how it used to be , which was much easier to maintain & review as you mentioned.
The explanation is in fact translation memory: https://help.transifex.com/en/articles/6224636-introduction-to-translation-memory
Today I added myself to the
fr_FRlocale, and previously I did edits to thefrlocale but some of my edits flowed to thefr_FRlocale. Those are easy to notice as in the history view I can read:it needs to be fixed on Transifex by deleting entries, right?
Cannot be fixed by PR to this repo?
Thanks for working that out @k-yle , when I use that filter in en_AU it lists a lot of labels, most of which appear to be unchanged, ie. ABC translated to ABC.
From a maintanace point of view it’s easier if we only include those which are translated and anything black just falls back on the translation source.
It seems if I use the query
origin:TM reviewed:NO translated_before:2024-11-19 translated_after:2024-11-17 same_source_and_translation:trueI can select all those with the same source and translation, but before I go ahead and delete those, what do we think? Should we only keep those that are different?
I’ve now disabled the setting. Thanks for investigating and finding the culprit. 🙇
not sure whether slack preserves the chat history these days, so copying this comment from @bryceco:
@k-yle:
so
en-US.jsonalso needs to be cleaned up. This one will be the easiest, since we can just delete every translation.Another one, noting this is from “Translation memory” not sure if that’s the root cause?
Vacuum Cleaner Storewas changed toHoover Shopin en-au by bgo_eiu but they are only a member of Panjabi so I don’t think they would have been working in the Australian translations. I’ve just updated in now.EDIT: I’m seeing a lot of updates to en-AU with via “Translation memory” from contributors to en-UK.
In my experience, the authorship information in Transifex’s history tab has always been highly suspect. I basically always discount it. Filtering by author still works for me for the most part, but things might be worse for translating a language variant.