Automattic / Automattic/babble

Translations not publishing when original moves from draft to published

Open
#284 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
PHP
Stars
250
Forks
44
PR merge metrics
No merged PRs in 30d

Description

I can mark an originating post as being 'Ready for translation' before it is published. When I 'save draft', this creates a job in the Translation section.

I can mark my translation as 'Complete' before the original is published.

When I then go to publish the original, I'm expecting the translation to become published too. But it doesn't. The post doesn't appear on a 'latest posts' view, and any Babble-generated switcher links show `%whatever%` variables.

If I go back into the translation, and immediately click Update again, the translation then becomes available, and the switcher links are correct.

Everything works fine if:
- the original is published before a translation is completed: original is already available, translation becomes available when marked complete; or
- the original is set for scheduled publication: in which case both original and translation become available at the appointed time.

Contributor guide

Open the contributing guide

Research direction

Reproduce the workflow in WordPress and Babble: mark the original ready for translation, complete the translation, then publish the original. Trace the translation and switcher state during that transition; done means the translation appears in latest-posts views and generated switcher links contain no placeholder variables without a second update.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
internationalization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.