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:


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)

Most upvoted comments

nice, same_source_and_translation is better than my document.querySelector hack 😆

Should we only keep those that are different?

👍 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_FR locale, and previously I did edits to the fr locale but some of my edits flowed to the fr_FR locale. Those are easy to notice as in the history view I can read:

Translated by homersimpsons, 5 days ago via Translation memory

Image

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:true

I 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:

When I add an amenity/waste_basket iD calls it a “Trash can”, but the translation provided in “en-US” is “Rubbish bin”. “Trash can” is used by the “en” translation. My browser is sending “Accept-Language”: “en-US,en;q=0.9”.

@k-yle:

this is caused by #1536, “Rubbish Bin” should only exist in en-AU and en-NZ, but all the en-* languares are completely messed up now 😢 en-US.json was empty until the problematic release a few months ago

so en-US.json also 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?

Image

Vacuum Cleaner Store was changed to Hoover Shop in 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.