Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #862187

    salilou
    Participant
    This reply has been marked as private.
    #862422

    Zeshan
    Member

    Hi Salilou,

    Thanks for the logins!

    I was able to fix the issue and run the translation files. Please check your site: http://hanneskreuziger.de/wordpress/warenkorb/.

    There were two issues.

    1: I checked your child theme functions.php file but couldn’t find the provided code in it (see: http://prntscr.com/amqlai). I’ve added the following code to target the language inside the child theme:

    // Point Language Files Directory to the Child theme
    // =============================================================================
    
    add_action( 'after_setup_theme', 'my_child_theme_lang' );
    
    function my_child_theme_lang() {
      load_child_theme_textdomain( '__x__', get_stylesheet_directory() . '/languages' );
    }
    

    2. There was a blank space before the names of language files in the child theme (see: http://prntscr.com/amqo5b). I removed the blank space, and the language files are working now.

    Hope this helps. 🙂

    Thank you!

    #865593

    salilou
    Participant

    O man, how could I fail to see this!!
    THANK YOU! 🙂

    #865778

    Zeshan
    Member

    You’re welcome and glad we could help! 🙂 Have a great day!

    #1080887

    riwaro
    Participant

    Hello,

    I have the same problem. I changed everything, as explained above. Unfortunately, nothing has changed. What can I tunr?

    Greetings Thomas

    #1080969

    Rad
    Moderator

    Hi there,

    Thanks for writing in.

    This is an old thread, would you mind starting a new thread? While you’re there, please provide the details of the issue you’re getting. I like to see your translation files too, please provide your admin and FTP login credentials in private reply.

    Thanks!

    #1081046

    riwaro
    Participant
    This reply has been marked as private.
    #1081096

    riwaro
    Participant
    This reply has been marked as private.
    #1081298

    Darshana
    Moderator

    Hi there,

    We have updated our translation guide with detailed information. Please refer to that (https://community.theme.co/kb/translation/). Let us know if you have any other issues.

    Thanks!