Home>Support>My translation don’t work

My translation don’t work

Hello, sorry for my english for start ;)
I’ve got a problem with translation. I have read your instructions for other people and followed your instructions:
*created child theme
* added this code to my functions.php

function portal_child_set_text_domain(){
load_theme_textdomain( 'portal', get_stylesheet_directory() . '/languages' );
add_action('after_setup_theme', 'portal_child_set_text_domain', 15);

*translated using poedit and saved two files as pl_PL, added them to folder languages in my child theme folder
* checked if this code exist in my wp-config.php in my wordpress’ root

define('WPLANG', 'en_US');

Unfortunately my translation still isn’t visible on my site. What more can I do?
Thanks in advance for your help!

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 6 years, 12 days ago corkakazika

    Sorry, of course I meant

    define('WPLANG', 'pl_PL');


  2. 6 years, 12 days ago corkakazika

    Sorry, I just discovered it was stupid mistake. I just didn’t change


    in my functions.php ;)


  3. 6 years, 12 days ago Andrew Misplon Hi, I Work Here

    Hi Sylwia

    Thanks for updating your thread. Glad to hear you were able to resolve.

    All the best.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More