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.
Need fast email support? Get SiteOrigin Premium
Replies
3Sorry, of course I meant
define('WPLANG', 'pl_PL');:)
Sorry, I just discovered it was stupid mistake. I just didn’t change
in my functions.php ;)
Greetings!
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.