Hello,
in fact, I found a trick to get what I want: option filters. For example, if I need to translate the ‘helpful_feedback_email’ option, I write in functions.php:
add_filter (‘option_helpful_feedback_email’, ‘My_Translation_Fct’);
Now, I can have all the options translated, even if the template is called with Ajax, since the filter ‘the_content’ doesn’t work with an Ajax call.
Now the question is, is there a filter which would work as the ‘option_xxx’, but for the whole rendering of an Ajax call, not specifically for an option?
Have a nice week as well