Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #29824

    Bart v
    Participant

    Hi,

    I have some problems with the woocommerce extension. The site is running on wordpress 1.8.1 and woocommerce 2.1.6 and I downloaded the latest version of Theme X. When I add a product the review section isn’t functioning like it should (like the demo). How can I solve this? You can se an example on http://www.walktallproducts.com/be/product/test/

    The second I have is with the translation of the woocommerce plugin. I defined the language in wp-config file and some of the text is being translated good. But there are also a lot of sentences witch do not translate while they are translated in the .po file. If if rename the themes/x/woocommerce folder the translation starts functioning good but off course the layout will be messed up.

    I tried to copy the .po and .mo files to themes/x/woocommerce/language and to wp-content/languages/woocommerce but this doesn’t solve the problem.

    I hope you guys can help me solve this problems

    #29826

    m c
    Participant

    Hi,

    I had the same problm, define your language in wp-config.php

    define (‘WPLANG’, ‘en_GB’); for english UK etc

    Then changing the .po and .mo makes no difference,

    install this plugin

    Enter the string you dont want
    then enter domain which will be __x__
    then enter the string you want to see.

    example
    Cart
    __x__
    Basket

    regards

    #29827

    Bart v
    Participant

    Thanks for the fast reply! I can’t see a plugin in your post, could you please tell me which plugin I need?

    #29834

    Bart v
    Participant

    I found a way to fix the translation. I installed CodeStyling Localization and added a language to Theme X. Here I can find the sentences which I want to change.

    Now I only need a solution to the first problem. Can someone help me fix the review section of the product page?

    #29978

    m c
    Participant

    sorry the plugin was “say what” in the wordpress repo. I didn’t have much look with the localization plugin it still didnt change some of the US to English.

    #29981

    m c
    Participant

    Hi, regarding your reviews it is not working as it should. I can confirm that wordpress 3.8.1 and woocommerce 2.1.6 and them x 1.8.1 are working correctly for me on the reviews section. you need to deactivate all plugins and activate them one by one or just recopy your existing woocommerce files again from the wordpress repo.

    regards

    #30531

    Support
    Member

    Hi there,

    We really appreciate your detailed reply.

    Thanks

    #30536

    Bart v
    Participant

    I tried disabling all plugins but no success (I didn’t install any other plugins as at the demo). Any idea what could cause this problem? It is a multi site WordPress installation, could this be the issue?

    #31032

    Christian
    Moderator

    Hey Bart,

    I’ve submitted a test review on the product page you’ve posted (see http://prntscr.com/383m8p). Please try to approve that review to see if it works.

    Let us know the result.

    Thanks.

    #33314

    Bart v
    Participant

    Thanks for the support. I can accept the review and this function does work. The problem is that it does look different from the demo. The demo looks much better than the our website. I hope you guys could tell me why and how I can fix it so it will look/function like the demo.

    #33575

    Rubin
    Keymaster

    Hi There,

    What exactly is different in your opinion? To me both look the same.

    #107355

    kjetil
    Participant

    Still being a little of a newbie, I am not sure if I understand the answers above. However, I have problems with the cart and the checkout not being translated well on all items when I run the x theme. Seems this is because lots of the woocommerce code is duplicated under the /themes/x/woocommerce directory. Even if the wordpress\wp-content\languages\plugins directory has the woocommerce translations in place, they are not utilized when running the x theme.

    My solution is to replace occurrences of “__x__” in the cart.php and cart_totals.php with “woocommerce”. Voila!

    My question is this: Is this a bug in the theme, or is it something wrong with my configuration?

    #107437

    Zeshan
    Member

    Hi Kjetil,

    Thank you for writing in!

    If you have added your translation at WooCommerce .po file, then “__x__” will not work. You should add the translation for “__x__” theme .po files or the plugin translation.

    Cheers!

    #108165

    kjetil
    Participant

    not sure if I understand. Can you please explain how to update the swedish site after I installed X, then? should not X refer to the same translation as the other plugins? why do I have to do special steps just because I installed X?

    #108235

    Rad
    Moderator

    Hi there,

    X theme and woocommerce have textdomains, and each textdomain represent each translation domain/files.

    http://codex.wordpress.org/Function_Reference/load_textdomain

    X theme load the available translation file from designated language path.

    If you add your translation to a different textdomain, while invoking another textdomain, then it will not show what you just translated. You will have to use the textdomain where your translation are.

    http://codex.wordpress.org/I18n_for_WordPress_Developers

    Thanks!