Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1159783
    dentalflexitalia
    Participant

    Hi guys,

    I was trying the get the search result page translated following the instructions using poedit, however as soon as I saved the file on the search result something went wrong.

    I just want to have the text translated into Italian I have created and saved the file called it.mo. I di not uploaded on the server as I was not quite sure, additionally I don’t have a child theme. I did try to set it up but struggling there too.

    I would appreciate your help fixing the issue on the search page and I am not sure but if you could set up a child theme would be very helpful.

    Thanks in advance

    #1159786
    dentalflexitalia
    Participant
    This reply has been marked as private.
    #1160185
    Rad
    Moderator

    Hi there,

    It’s completely down, even login URL isn’t there. Have you deleted it? Please provide your login credentials as well.

    Thanks!

    #1160670
    dentalflexitalia
    Participant
    This reply has been marked as private.
    #1160908
    Rad
    Moderator

    Hi there,

    Thanks, I’m not quite sure how you’re doing it. POEdit is just a tool, please check this https://community.theme.co/kb/translation/

    And please provide a video recording on how you’re doing it. Maybe I could find what’s wrong through that.

    Thanks!

    #1161286
    dentalflexitalia
    Participant

    Hey Rad,

    you reply is not very helpful, if I knew what I was doing it I would have bother contacting you.

    I have followed the instruction for Poedit, I found the string and translated, the only thing I did not do was upload on to the server the new file created, because I saw the error on the page result.

    This is the error that appears: Notice: Trying to get property of non-object in /home/dentalf2/public_html/wp-content/themes/x/framework/functions/global/helper.php on line 176

    If you go on the search type fhhthk or whatever you should get the same result. Because I saw this error I did not override the file created with Poedit.

    The other question was in regards to child them, I not to confident on doing and I was wondering if you can help me with that, I keen on using Poedit, but I do not want affect he original X

    So question 1: Can you please check what the error is on the “empty result page” ?
    2: could you install or guide me on how to install child theme so I could use Poedit?

    Thanks in advance for your support

    Clem

    #1161311
    Christopher
    Moderator

    Hi there,

    Please check this link https://community.theme.co/kb/how-to-setup-child-themes/ to setup child theme.
    After installing child theme follow this KB article https://community.theme.co/kb/translation/ and put translated files in child theme.

    Hope it helps.

    #1161386
    dentalflexitalia
    Participant

    Christopher I think you did not get the core of my issue.?

    I appreciate you cannot install the child them for me, great.

    My issue is that on the empty result page (like I explained before), I get a line of code showing up on the page and I am asking if you would be able to look at it and potentially fix the issue.

    This back an forward is wasting mine and yours time.

    Thanks

    #1161433
    Paul R
    Moderator

    Hi,

    I was able to get rid of it by setting debug to false in wp-config file

    
    define('WP_DEBUG', false);
    
    #1161586
    dentalflexitalia
    Participant

    Thanks, Paul

    #1161602
    Thai
    Moderator

    You’re most welcome 🙂

    #1172731
    dentalflexitalia
    Participant

    Hello guys,

    still on the translations issue, please help.

    SO I have installed the child them, I have saved the file edit with Poedit, uploaded them on the newly directory x-child/framework/lang, I have added the code in the functions.php = Still no Translations.

    Would mind have a quick look at it and see what I have done wrong?

    Clem

    #1172766
    dentalflexitalia
    Participant

    re-attaching the file

    #1172838
    Christopher
    Moderator

    Hi there,

    Please update your code in functions.php file to :

    add_action( 'after_setup_theme', 'load_child_language' );
    	function load_child_language() {
    		load_child_theme_textdomain( '__x__', get_stylesheet_directory() . '/framework/lang' );
    }

    Hope it helps.

    #1172862
    dentalflexitalia
    Participant

    Hey Chris,

    still no luck:-(

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