This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

My translation don’t work

Resolved 3 replies premiumthemetheme-vantage
11 years ago · Last reply by Andrew Misplon 11 years ago

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.

Need fast email support? Get SiteOrigin Premium

Replies

3
  1. corkakazika 11 years, 10 months ago

    Sorry, of course I meant

    define('WPLANG', 'pl_PL');

    :)

  2. corkakazika 11 years, 10 months ago

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

    portal

    in my functions.php ;)

    Greetings!

  3. Andrew Misplon Staff 11 years, 10 months ago

    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.

Have a different question or issue?

Start New Thread