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

Investigate double translation via dev/stable #158

Open
akirk opened this issue Mar 7, 2024 · 2 comments
Open

Investigate double translation via dev/stable #158

akirk opened this issue Mar 7, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@akirk
Copy link
Member

akirk commented Mar 7, 2024

I observed that when I translatled something in dev it was copied to stable and attributed to me as 2 translations.

@psrpinto psrpinto added the bug Something isn't working label Mar 14, 2024
@akirk
Copy link
Member Author

akirk commented May 13, 2024

Duplicate of #258.

@akirk akirk closed this as completed May 13, 2024
@akirk akirk reopened this May 13, 2024
@akirk akirk added this to the RSVP & Moderation milestone May 13, 2024
@amieiro amieiro self-assigned this May 16, 2024
@amieiro
Copy link
Collaborator

amieiro commented May 16, 2024

The translations are stored in the event_actions table when the gp_translation_created and the gp_translation_saved are fired.

The method that syncronizes the translations from both projects in a plugin (develop and stable) is the sync_translations in the wporg-gp-plugin-directory. This method removes both actions, to avoid recursion, so I think we should not have duplicated rows for the same action.

I left this issue open, to investigate it when we have a running event.

@akirk akirk removed this from the RSVP & Moderation milestone May 21, 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

3 participants