Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #985723
    Rubrika
    Participant

    Hi!

    I have X theme currently running and translated but I´ve got an issue.

    I followed the steps for translating the theme as this link says, on the child theme part. It worked the first time, but now I want to update that translation and it has no effect.

    I updated both files (.po and .mo) but it seems to not be working.

    I thought that this could be happening because of the function, but I can´t tell.

    add_filter( ‘x_enqueue_parent_stylesheet’, ‘__return_true’ );

    add_action( ‘after_setup_theme’, ‘load_child_language’ );
    function load_child_language() {
    load_child_theme_textdomain( ‘__x__’, get_stylesheet_directory() . ‘/languages’ );

    What am I doing wrong?

    #985897
    Darshana
    Moderator

    Hi there,

    Thanks for writing in! We need to check your setup first. Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password
    – FTP credentials

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    #987831
    Rubrika
    Participant
    This reply has been marked as private.
    #988532
    Rad
    Moderator

    Hi there,

    Thanks, would you mind providing the old translation files and the new ones? I like to see what’s the difference and which aren’t applied.

    Thanks!

    #989738
    Rubrika
    Participant

    Hi, I used the same translation files. I just updated them with the new fields I wanted to translate

    #990114
    Darshana
    Moderator

    Hi there,

    I have tested your setup and your translation is working. You need to translate all those fields first by opening the PO file and then compile the PO file into MO file. Then upload both files into your child theme’s language folder.

    For example, I have tested translating your Search Results field (https://snag.gy/3gQwDE.jpg) as follows (https://snag.gy/IDnEvt.jpg).

    Let us know if you have any further issues.
    Thanks!

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