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

Translation with status "maschine translated" outdates after date refreshing #2807

Open
MizukiTemma opened this issue May 16, 2024 · 3 comments
Labels
🐛 bug Something isn't working
Milestone

Comments

@MizukiTemma
Copy link
Member

Describe the Bug

Translations with status "maschine translated" are "outdated" after refreshing the date of their source translation.

Steps to Reproduce

  1. Set two languages (for example English and Arabic) directly hanging from German (root language) in the language tree of a region.
  2. Create a German translation.
  3. Create an Arabic translation by MT, and create an English translation manually (not by MT)
  4. See in the page tree that the German and English traslations are up-to-date (✅) and the Arabic one maschine-translated (🤖)
  5. Open the German translation and click the button "Mark this page as up-to-date"
  6. Go back to the page tree, see the German and English translations are up-to-date but the Arabic one is marked as outdated (⚠️)

Expected Behavior

The Arabic translation should be up-to-date too.

Actual Behavior

The Arabic translation is outdated.

Additional Information

👀 The cause seems to be the order in which the translations are refreshed: after this reproduction procedure the German translation (version 2) and the English one (version 1) have time stamp of 16:04:12, where as the Arabic one 16:03:38.

💡It is recommended to implement/review this issue with redis activated.

Traceback
@MizukiTemma MizukiTemma added the 🐛 bug Something isn't working label May 16, 2024
@MizukiTemma MizukiTemma added this to the 24Q2 milestone May 16, 2024
@theresantonie theresantonie self-assigned this Jun 9, 2024
@theresantonie theresantonie removed their assignment Jun 24, 2024
@MizukiTemma MizukiTemma modified the milestones: 24Q2, 24Q3 Jul 1, 2024
@lunars97 lunars97 self-assigned this Jul 8, 2024
@lunars97
Copy link
Contributor

@MizukiTemma seems like it should be like that because when we update the source language without ticking an automatic translation and updating it, the machine translated stays unchanged and therefore it outdates if the source translation was updated without ticking an automatic translation. Shouldn't it behave like that?

@osmers
Copy link

osmers commented Jul 23, 2024

No, Mizuki is right bcs we are not talking about the update button in the top right hand corner but about the "mark page as up to date" button (further down in the settings of the page) which presumes that nothing was changed, all information is up to date and only should update the date on all pages that are marked as up to date (with a tick in the translation status).

@MizukiTemma
Copy link
Member Author

@osmers Thank you for explaining 👍

@lunars97 Sorry, I have overlooked your question 😿 Yes, it about the button "Mark this page as up-to-date" in the side box "Actions"

@lunars97 lunars97 removed their assignment Jul 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants