-
Notifications
You must be signed in to change notification settings - Fork 60
Open
Labels
bugSomething isn't workingSomething isn't working
Description
When you save changes, if you check "Localize Text", the template content will be saved as a pattern and translation functions (esc_html_e()
) will be applied to some of the text:
The text that gets replaced is determined by a hard-coded list of regular expressions and blocks.
As a result, there have been reported issues with anything that doesn't fit these not being localized:
- Label, Placeholder, Button Text in Search block don't become translation ready #737
- Labels in Pagination block don't become translation ready. #742
- Labels in Comments Pagination block don't become translation ready. #773
- moreText in Excerpt block isn't internationalised #744
- Summary text in Details block needs to be internationalised #756
Maintaining this hard-coded data is impractical.
Perhaps a more generic approach is needed, although this has probably been considered in the past.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working