Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It's possible to have two currents for a string. #1312

Open
NekoJonez opened this issue Jan 31, 2022 · 4 comments
Open

It's possible to have two currents for a string. #1312

NekoJonez opened this issue Jan 31, 2022 · 4 comments
Labels
[Status] Needs More Info Issues that need verification

Comments

@NekoJonez
Copy link
Contributor

https://translate.wordpress.org/projects/wp-plugins/events-made-easy/stable/nl/default/?filters%5Bstatus%5D=either&filters%5Boriginal_id%5D=12843760&sort%5Bby%5D=translation_date_added&sort%5Bhow%5D=desc&historypage

image

I can't tell you why this occurs, but I have seen various plugins, especially plugins with 1k+ strings where a string can have two currents.
Currently, I use https://github.com/vlad-timotei/wpgp-tools and the history setting to find these and delete them. But there should be some check in place for this.

How this check would look like, I have no idea. Maybe display a warning symbol when translated > all? Display it in another style (maybe not another color, since color-blindness is something that exists)

@ocean90
Copy link
Member

ocean90 commented Mar 23, 2022

Noting that this happens on translate.wordpress.org and was previously reported in https://meta.trac.wordpress.org/ticket/5976.

@ocean90 ocean90 added the [Status] Needs More Info Issues that need verification label Mar 23, 2022
@abrain
Copy link

abrain commented Nov 5, 2022

This happened to me as well when the original strings only changed a tiny bit (changed placeholders from %s to %1$s) and translate.wordpress.org offered fuzzy translations for those. I either accepted or saved those, cannot tell for sure. I am a PTE for the project.

I also found the "two current strings" issue in another locale of the same project for strings where a URL changed in parts. Might have happened the same way, I am not a PTE there. See translation history.

@psmits1567
Copy link

This week I had the same problem with a project post-expirator. It show different values for translation
https://translate.wordpress.org/projects/wp-plugins/post-expirator/stable/nl/default
image
And here is the one creating the problem
image

@NekoJonez
Copy link
Contributor Author

How shall we tackle this in the best way? Since very rarely this issue still pops up.
Should we post the links here and not fix them so we can investigate?

Besides that, how can the translators know that there a duplication happened? I think it would be too expensive to have a scan running that checks all projects that aren't 0% and somehow adds them to the "waiting" for GTE/PTE's with some sort of warning?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Status] Needs More Info Issues that need verification
Projects
None yet
Development

No branches or pull requests

4 participants