I’m currently make a child Theme of an existing WordPress Theme. Currently, my theme is set to French. But I want to make English translation. I use Loco Translate for create my PO files.
In my function.php, I call my translation like this :

add_action('init', 'init_trad');

function init_trad() {
  $urltrad = get_stylesheet_directory_uri()."/languages";
  load_plugin_textdomain( 'GeneratePress-child', false, $urltrad );
}

How can I test my translations ? I try to set Chrome and my wordrepss in en_US but it doesn’t work…

Thanks.

Read more here: WordPress Test Translation


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: