WordPress / WordPress/pattern-directory
Remove Translation strings when pattern is unpublished
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 134
- Forks
- 46
- Avg merge
- 9h 4m
- Merged PRs (30d)
- 19
Description
Describe the bug
When a pattern is unpublished, strings are not updated to remove the reference to the pattern, and strings that are unique to the pattern are not obsoleted.
To Reproduce
Steps to reproduce the behavior:
- Unpublish a pattern that's been translated
- Observe strings within the GlotPress project
Expected behavior
Unsure....
Unpublished Patterns should have their strings removed from GlotPress either...
- Immediately
- After xx days
I'm not sure how often patterns will be unpublished, and expected to be re-instated, but removing the string immediately might cause more effort for translators.
Contributor guide
No contributing guide indexed for this repository
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 the issue by unpublishing a translated pattern and observing the strings in the GlotPress project. Resolve whether strings should be removed immediately or after a delay, then identify the pattern-unpublishing flow and its GlotPress integration. Done means the agreed policy is implemented and pattern-specific strings no longer retain an invalid reference.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- localization
- Issue type
- Bug
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100