WPML Cart not translated - by luciano - on WordPress WooCommerce support

This topic has 11 replies, 3 voices, and was last updated 8 years, 7 months ago ago by Eva Kemp

  • Avatar: luciano
    luciano
    Participant
    July 20, 2015 at 22:35

    Hello,

    I am using the Woopress theme and I have a problem with the translation of the cart component.

    The translation of ‘cart’ is not available. Attached a few screenshots that makes the problem clear.

    Where can I find the correct way to translate this sentence?
    Already contacted WPML. They are also trying to solve this issue.

    Thanks in advance

    Gr Luc

    Please, contact administrator
    for this information.
    10 Answers
    Avatar: luciano
    luciano
    Participant
    July 21, 2015 at 11:07

    WPMLs respond.

    This seems a problem with the theme since the theme author is not using the correct practice for gettext functions.

    The code for these sections is on /woopress/ramework/woo.php

    <div class=’bottom-btn’>

    cart->get_cart_url(); ?>” class=’btn text-center border-grey’><?php echo __(‘View Cart’, ETHEME_DOMAIN ); ?>

    cart->get_checkout_url(); ?>” class=’btn text-center big filled’><?php echo __(‘Checkout’, ETHEME_DOMAIN); ?>

    </div>

    The theme author should use a plain string (no variable, constant for the textdomain). Currently the theme author is using ETHEME_DOMAIN , it’s not correct.
    Reference: http://ottopress.com/2012/internationalization-youre-probably-doing-it-wrong/

    Now I temporarily change

    ETHEME_DOMAIN

    to

    ‘woocommerce’

    for 2 lines above. They seem to work fine with the translations of WooCommerce plugin.

    I suggest contacting with the theme author and ask them contact with our compatibility team or here: http://wpml.org/documentation/theme-compatibility/go-global-program/

    There they will get the better advice for achieving the compatibility with WPML.

    Avatar: Eva
    Eva Kemp
    Support staff
    July 21, 2015 at 11:57

    Hello,

    Did you translate the text? If no, please provide us with FTP and wp-admin panel credentials in Private Content.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: luciano
    luciano
    Participant
    August 5, 2015 at 16:52

    Hello Eva,

    I will forward the credentials.

    But I also want to know how to fix this problem.

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    August 5, 2015 at 19:10

    Hello,

    Please provide us with FTP credentials as well.

    Thank you.
    Regards,
    Eva Kemp.

    Avatar: shooroop87
    shooroop87
    Participant
    August 10, 2015 at 15:39

    Same problem with Cart and Checkout translation + with top bar My account and Logout.

    Look picture
    http://www.screencast.com/t/R90KBaxO5Avq

    Could you help me please.
    FTP credentials in private content.

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    August 10, 2015 at 16:04

    Hello @shooroop87,

    I’ve activated String Translation plugin and the links are correct now.
    Please clear browser cache and check.

    Regards,
    Eva Kemp.

    Avatar: shooroop87
    shooroop87
    Participant
    August 15, 2015 at 12:55

    almost everything works fine, except … see pictures
    1. http://www.screencast.com/t/3a93Fq7V
    2. http://www.screencast.com/t/BifCqERsYD (first nexpage)
    3. http://www.screencast.com/t/84EnObiXSkJ (second nexpage)
    4. http://www.screencast.com/t/mB4xfixQSOUS

    sometimes when loading the home page, that is, seastarmilano.ru, I see the following error message
    http://www.screencast.com/t/1Dhto11za0O

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    August 17, 2015 at 12:17

    Hello @shooroop87,

    “Allowed memory size” error means you’re lack of memory and you have to contact your hosting provider and ask them to increase memory_limit value.
    Issue with pagination persists with default WordPress theme too. You should contact WPML support or check your configuration more attentively.

    As I see there is notification in WPML > Woocommerce Multilingual > General Settings tab > Configuration warnings:
    “Your site’s default language is not English. There are some settings that require careful attention.”

    It’s recommended to have default language as English and then translate all strings to other languages:
    https://wpml.org/documentation/support/translating-woocommerce-sites-default-language-english/

    Also I see you’ve updated Woocommerce to the latest version, but Woopress version 2.3 isn’t compatible with it. There is a new theme version http://themeforest.net/item/woopress-responsive-ecommerce-wordpress-theme/9751050 and you need update it.
    Before update delete “woocommerce” folder in the directory wp-content/themes/woopress/ and it’ll be reuploaded from a new theme package.
    Also update all required plugins https://www.8theme.com/download-plugins/ .

    Don’t forget to create back up of your files and database before starting update process!


    (it’s for Legenda theme but the process is the same).

    Regards,
    Eva Kemp.

    Avatar: shooroop87
    shooroop87
    Participant
    August 20, 2015 at 16:10

    Hi, support!
    With pagination on different languages will be resolution? (look please last Post there https://www.8theme.com/topic/woocommerce-multilingual-and-product-category/#post-80378)
    Help me please.

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    August 20, 2015 at 16:57

    Hello,

    You’ve been replied in other topic.
    Please check.

    Regards,
    Eva Kemp.

  • Viewing 11 results - 1 through 11 (of 11 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.