Prevent WPML from creating a new draft in every language
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 53
- Forks
- 38
- Avg merge
- 4d 8h
- Merged PRs (30d)
- 1
Description
Hi!
First for sharing the plugin, it works great :)
Only issue I have encountered: With WMPL installed, duplicating a post creates a new draft in every language.
In my opinion, the ideal workflow would be:
- You clone a page in English (to use it as a starting point). (So you only have a new draft in English.)
- You edit the new draft (change texts) and publish it in English.
- Once the page is complete, you translate it using WPML.
So I don't see the point of having a new draft in every language every time you clone a page.
Is this the expected behavior? Is there any way to disable it and have only one new draft (for a specific language)?
Thanks again!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing post duplication with WPML enabled and inspect the plugin's duplication workflow. Determine how language variants are created and where a single-language draft could be selected. Done means cloning a post creates only the requested language draft without generating drafts in every other language.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, wordpress
- Domain
- content, localization
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100