Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1208148
    Mbzo
    Participant

    Hi there,

    After a recent update I lost translations. Not sure what went wrong.

    I have a child theme set up correctly and the /languages folder is inside the child theme folder (x-child/languages)

    I call it via the child theme functions.php
    add_action( ‘after_setup_theme’, ‘load_child_language’ );
    function load_child_language() {
    load_child_theme_textdomain( ‘__x__’, get_stylesheet_directory() . ‘/languages’ );
    }

    The general wordpress language setting is ok, but all the site appears in English.

    Somewhat puzzling.

    #1208149
    Mbzo
    Participant
    This reply has been marked as private.
    #1208167
    Mbzo
    Participant

    There were .po and .mo files marked with a “__x__-” prefix and stored in the wp-content/languages/themes folder.
    Deleted those and the translation is working again.
    Solved adn apologies for opening this ticket too soon!

    #1208486
    Rue Nel
    Moderator

    Hello There,

    Thanks for writing in! We are just glad that you have figured it out a way to correct the said issue.
    We really appreciate for letting us know!

    Best Regards.

  • <script> jQuery(function($){ $("#no-reply-1208148 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>