Tagged: 

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #319903

    Good afternoon.
    I recently migrated my multilingual website from the twenty eleven theme to enfold theme. The multilingual plugin I use is “xili language”, since it is free.
    Now I have an error message:
    CAUTION: no load_theme_textdomain() in functions.php of child theme – review the content of file in the current child theme or leave as is to use only parent theme translation file. See Wiki for more details

    I checked, and load_theme_textdomain() is here in enfold theme but not in enfold child theme, would that be the issue? I know it is not the translation plugin you are used to, but it’s free and it should be quite simple to fix, would you have an idea?

    Thanks for helping.

    #320799

    Hey!

    Try putting this code in your child theme functions.php:

    	function avia_lang_setup()
    	{
    		$lang = apply_filters('ava_theme_textdomain_path', get_template_directory()  . '/lang');
    		load_theme_textdomain('avia_framework', $lang);
    	}
    

    Regards,
    Josue

    #328975

    Thanks for your help, but it did not work. I’m not even sure whether this is important or not, since the site seems to be working. I just don’t like having an error.

    #329104

    If your site works fine then it’s not something to worry about, seems to be a common issue with that plugin and child themes:
    https://wordpress.org/support/topic/plugin-not-detecting-load_theme_textdomain-in-child-theme

    Regards,
    Josue

    #329568

    Ok, thanks for trying. Have a good day

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Translation issue’ is closed to new replies.