[wp-trac] [WordPress Trac] #60298: Text embedded in theme template is not translatable

WordPress Trac noreply at wordpress.org
Thu Apr 18 13:11:45 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 dennisatyoast):

 I created a PR to support translation of the pagination-next and
 pagination-previous labels. I basically went with the first suggestion
 made by [comment:4 poena]. Within Gutenberg the support for `ancestor` was
 added in https://github.com/WordPress/gutenberg/pull/58602. This PR now
 introduces a pattern for the pagination that is being re-used in all three
 mentioned files (`archive.html`, `home.html`, `search.html`).

 I left the single heading for now. I did not see any more opinions whether
 this is really the best practice. But it seems unlikely to me that someone
 using the theme will not replace that sentence with their own copy.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60298#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list