Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Add translation support for static string to Home pattern #62

Closed
kishanjasani opened this issue Aug 25, 2023 · 0 comments · Fixed by #126
Closed

Add translation support for static string to Home pattern #62

kishanjasani opened this issue Aug 25, 2023 · 0 comments · Fixed by #126

Comments

@kishanjasani
Copy link
Contributor

Translation strings need to be added to the home pattern. For example:

Before
<h2 class="wp-block-heading has-text-align-center">A commitment to innovation and sustainability</h2>

After
<h2 class="wp-block-heading has-text-align-center"><?php esc_html_e( 'A commitment to innovation and sustainability', 'twentytwentyfour' ); ?></h2>

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.