Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #854575

    salilou
    Participant

    Hi,
    I use Renew + WooCommerce facing a german translation issue.
    Some strings are still english, as far as I could see these are in Woocommerce:
    “Apply Coupon”, “Your cart is currently empty.”, “Return To Shop”
    Furthermore “Read more” in the blog.
    I found some forum posts here concerning that and will try the solution with poedit, but additionally I want to know, WHY is it so, that these strings aren’t translated immediately after x theme install and most of the other strings are translated correctly out of the box?
    Thank you very much!

    #854654

    Rue Nel
    Moderator

    Hello There,

    Thanks for posting in! Those keywords is included in X theme. You also need to translate the X theme. To do that, simply follow the detailed instruction here: https://community.theme.co/kb/theme-installation/

    Hope this helps.

    #854927

    salilou
    Participant

    Thanks for reply.
    Your link has no information about translation. An oversight?
    I followed the steps under https://community.theme.co/kb/translation/ with poedtit, but without success.
    The phrases described above are still in english while anything else appears in german as it should.
    Neather copying the “__x__-de_DE.mo” file to “/wp-content/languages/” nor to “/wp-content/languages/themes” solved it.
    The phrases are correctly translated in “/wp-content/languages/plugins/woocommerce-de_DE.mo” too,
    So I wonder why this doesn’t work.
    Running wordpress with twenty sixteen theme works.

    #854940

    Zeshan
    Member

    Hi there @salilou,

    Sorry for the confusion!

    The article for translation is: https://community.theme.co/kb/translation/

    As for the issues you are facing with translation, 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.

    Thanks!

    #854963

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

    Zeshan
    Member

    Hi there,

    Thanks for the login credentials!

    I’ve tried to log into your FTP account, but I’m getting “Connection refused” error. Would you mind confirming the FTP credetials again? Don’t forget to select Set as private reply to ensure your data remains hidden from other users.

    Thank you!

    #855021

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

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

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

    Zeshan
    Member

    Hi there,

    I’ve checked your site but couldn’t see any conflict in the language files. These should work fine. Can you install a child theme in your site and add following code in the functions.php file:

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

    After that, create a folder languages in your child theme folder and add the language files to it. The names of language files should not contain the theme textdomain, i.e., names should be:

    de_DE.po
    de_DE.mo

    Let us know how it goes.

    Thank you!

    #857406

    salilou
    Participant

    thank you
    shall I install it and ACTIVATE or just install?

    #858090

    Zeshan
    Member

    Hi Salilou,

    Yes, please activate it after the installation.

    Thank you!

    #861105

    salilou
    Participant

    Thank you
    I have installed and activated the child theme x-child and did all steps but the problem still exists
    Then I have added the php code to a snippet plugin instead which should gain the same effect – it doesn’t work, too

    #861857

    Rad
    Moderator

    Hi there,

    Would you mind providing your translation files? I like to check and test it on my installation. I can do that but your FTP server is refusing my connection.

    Thanks.

    #862178

    salilou
    Participant
    This reply has been marked as private.