[wp-trac] [WordPress Trac] #60298: Text embedded in theme template is not translatable
WordPress Trac
noreply at wordpress.org
Fri Apr 19 13:01:13 UTC 2024
#60298: Text embedded in theme template is not translatable
---------------------------+-----------------------
Reporter: wildworks | Owner: audrasjb
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: 6.6
Component: Bundled Theme | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
---------------------------+-----------------------
Comment (by poena):
I have tested {{{PR #6403}}} for the translations of the query pagination
link texts in Twenty Twenty-Three.
Thank you for the PR.
I was about to post a longer reply saying that this PR does indeed work
with Gutenberg 18x active,
and suggest that we hide the new pattern from the block inserter.
But after some thinking it dawned on me that because the fix to the query
pagination block would only be available from WordPress 6.6, this would
still be breaking on older versions of WordPress.
I did not consider the backwards compatibility when I added my previous
comments because I was so focused on trying to solve the underlying issue,
and I apologize.
I think our remaining options are to:
- Remove the strings from the markup and accept that this will be a change
on live sites.
- Create new patterns with the whole query loop including the query
pagination.
Unfortunately, in this theme, the query is different on the index,
archive, home, blog-alternative and search, so there would need to be
multiple new patterns.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60298#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list