Background of the issue:
I am trying to translate template strings on a WordPress site with two languages: English (default) and French. The strings are added properly in the backend. For example, we use the following code to display a string: . The issue can be seen on the Product details page in the product information section. Link to a page where the issue can be seen: קישור נסתר
Symptoms:
Some strings are not translating on the frontend when switching from the English Product details page to the French version. However, the strings translate properly when starting from the French home page.
Questions:
Why are some strings not translating on the English Product details page when switching to French?
Why do the strings translate properly when starting from the French home page?