Background of the issue:
I have a string on the homepage that is hardcoded in the theme, 'Built for the New Reality'. We have the French Canadian translation yet it is not showing it on the site when viewing in French Canadian. I have tried saving the page, sync theme translations, changing the translated string in String Translation, and cleared page cache. I am seeing the translated string on our staging working fine, just for some reason not on our live site.
Symptoms:
Translated hardcoded strings are not appearing on the live site in French Canadian.
Questions:
Why is the translated string not appearing on the live site?
What steps can I take to ensure the translation appears correctly?
Can you show me where and how it was hardcoded in the screenshots? I want to ensure that I fully understand this so that I can provide the best possible solution. You can also share the code here where it is hardcoded.
I've attached the screenshot of the template and the snippet below:
<div class="homepage-feature">
<p class="home-intro"><?php the_field('header_text'); ?></p>
<p class="banner-values"><?php _e('Built for the New Reality', 'html5blank'); ?></p>
<?php $button = get_field('button') ?> ">
</div>
I also sent a screenshot of the String Translation dashboard and it shows that it recognizes the "Built for the New Reality" string and where it should be appearing.