Your question should be specific to WordPress. Generic PHP/JS/SQL/HTML/CSS questions might be better asked at Stack Overflow or another appropriate Stack Exchange network site. Third-party plugins and themes are off-topic for this site; they are better asked about at their developers' support routes.
Closed 5 years ago.
Improve this questionI am using esc_html_e() function as shown below to translate a string.
<h1><?php esc_html_e('Question', 'abcd'); ?> </h1>
On english page, it displays the right word Question but on taking the page to french it still shows the same word Question.
I am wondering what can be the reason behind this. I believe esc_html_e()
function translates a string when different language page is requested.