WordPress Test Translation

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

Leave a Reply

Your email address will not be published. Required fields are marked *