You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Background
Currently, only templates with images are transformed to patterns. In this process, the image is made "local" to the theme, as well as strings get escaped and marked for translation.
Proposal
It could be useful to allow all templates that contain strings, to follow the same behavior — transformed to a pattern and strings escaped + marked for translation.
The text was updated successfully, but these errors were encountered:
Could we fast-track this issue? Creating patterns and making strings translatable is the majority of manual labor after generating a theme atm, and would go a long way to speeding up our process.
A setting? A Prompt? A separate "saving" button?
Could this be an option on this screen (for Clone specifically)?
We actually have a branch for this work that should be coming in... today? Soon at least.
It's done automatically, and might not cover all situations yet but it's a beginning. It isn't optional currently, but that's an idea that's been considered.
Planned for an upcoming release of CBT in the next week or two.
Background
Currently, only templates with images are transformed to patterns. In this process, the image is made "local" to the theme, as well as strings get escaped and marked for translation.
https://github.com/WordPress/create-block-theme/blob/017d52004e46d6c2ab38e68ef1be2bc08922fb2f/admin/create-theme/theme-zip.php#L114C44-L130
Proposal
It could be useful to allow all templates that contain strings, to follow the same behavior — transformed to a pattern and strings escaped + marked for translation.
The text was updated successfully, but these errors were encountered: