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

Sentences appear registered under language, but don't show up in "Recent Contributions" #3159

Open
DJ-Saidez opened this issue Jan 26, 2025 · 4 comments
Labels
bug Issue that describes a problem with a feature that doesn't work as expected.

Comments

@DJ-Saidez
Copy link
Member

This is the list of sentences created in the process of adding language Gun to Tatoeba.
https://tatoeba.org/en/sentences_lists/show/171793
This process is shown in #3085.
When you go to the list, and each individual sentence page, it appears properly registered as a Gun sentence.

But when you go to Recent Contributions and search for sentences in Gun, no sentences come up.
https://tatoeba.org/en/contributions/latest/guw
The previously added sentences should be shown here, even if they were initially added under "Unknown language" before Gun was added.

@DJ-Saidez DJ-Saidez added the bug Issue that describes a problem with a feature that doesn't work as expected. label Jan 26, 2025
@jiru
Copy link
Member

jiru commented Feb 1, 2025

I guess there could be some misunderstanding on how the "latest contributions" page works. That page will only ever show the latest 200 contributions over all the languages of Tatoeba. So when you filter to "latest contributions in Gun", you will only see if any Gun sentence is part of these latest 200 contributions. In other words, it is very easy for mainstream languages to crowd out minor languages from the list of "latest contributions".

Does that explain the issue you are pointing out?

@DJ-Saidez
Copy link
Member Author

If that were the case, then if I searched for recent contributions in Chavacano (most recent contribution December 2024) then I shouldn't have any sentences show up, but they do. So maybe the mechanism is a little different?
https://tatoeba.org/en/contributions/latest/cbk
Image

@jiru
Copy link
Member

jiru commented Feb 1, 2025

Oh, you’re right! My bad. The 200 latest contributions thing I said earlier is only for the "Currently contributing" block on the right.

@jiru
Copy link
Member

jiru commented Feb 1, 2025

That’s a bug (or is it?). Where Gun sentences were initially to their list, they were all marked as "unknown language". As such, the contribution record says that these sentences were of language "unknown". So when you filter the contribution log by language, they don’t show up. In other words, only sentences which language were set to "Gun language" at creation time will show up in the latest contributions.

This also affect any sentence which language was mistakenly detected. For example, I add a sentence in French, I set the language to "autodetect" and it is detected as Italian. Right after, I switch the flag to French and it’s all good. But, my sentence will show up in the "latest contributions in Italian" only, not French.

That issue is worsened by the fact that language changes are not recorded in the contribution logs, which makes the whole thing look even messier than it is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issue that describes a problem with a feature that doesn't work as expected.
Projects
None yet
Development

No branches or pull requests

2 participants