Missing translations - by kristofferj - on WordPress WooCommerce support

This topic has 9 replies, 2 voices, and was last updated 10 years, 2 months ago ago by Eva Kemp

  • Avatar: kristofferj
    kristofferj
    Participant
    November 14, 2015 at 12:32

    I’m using your theme with Woocommerce and WPML plugin. But there are missing translations.
    The “Cart” in header text is not translated, “Your cart is currently empty” is not translated either.

    http://nl.tinypic.com/view.php?pic=2cpu9ah&s=9
    http://tinypic.com/view.php?pic=rtl154&s=9#.VkcbxnyrTDE

    How can I translate this?

    8 Answers
    Avatar: kristofferj
    kristofferj
    Participant
    November 14, 2015 at 12:38

    For some reason the first picture won’t show.
    But that picture shows when hovering over an empty cart. The text is “No products in the cart

    Avatar: Eva
    Eva Kemp
    Participant
    November 14, 2015 at 14:23

    Hello,

    Please provide us with wp-admin panel credentials in Private Content.

    Regards,
    Eva Kemp.

    Avatar: kristofferj
    kristofferj
    Participant
    November 14, 2015 at 15:52

    I would like to learn howto make this work by my self and since it is not my site, I just help to set it up I’m not allowed to give out cresedentials.

    If you could write howto do it I would appreciate that.
    I already made this changes to get the some of the translations on cart to work.

    https://wpml.org/forums/topic/translation-woocommerce-not-complete/
    https://www.8theme.com/topic/wpml-cart-not-translated/

    Avatar: Eva
    Eva Kemp
    Participant
    November 14, 2015 at 16:06

    Hello,

    1) You need add “Text Domain: woopress” in the header of style.css file in the theme directory, for example

    /*
    Theme Name: Woopress- 8theme WordPress theme
    Theme URI: https://www.8theme.com/
    Author: 8theme
    Author URI: http://themeforest.net/user/8theme
    Description: ThemeForest Premium Theme
    Version: 2.5
    License: GNU General Public License version 3.0
    License URI: http://www.gnu.org/licenses/gpl-3.0.html
    Text Domain: woopress
    */

    2) Before scanning strings in WPML > Theme and Plugins Localization you need tick
    “Automatically use theme or plugin text domains, when gettext calls does not use a string literal.”

    After that translate the strings in WPML > String Translation.

    Regards,
    Eva Kemp.

    Avatar: kristofferj
    kristofferj
    Participant
    November 14, 2015 at 17:22

    Thanks, now when I got new strings to translate in “WPML > String Translation”. I tried to translate the exact string “Cart”, but it still shows up in english. Do i need to do something more after i entered the translated string and saved and ticked “Translation is complete”?

    Avatar: kristofferj
    kristofferj
    Participant
    November 14, 2015 at 17:28

    It’s the Cart string in the header I tried to translate.

    Avatar: kristofferj
    kristofferj
    Participant
    November 14, 2015 at 17:38

    Nevermind, it worked.
    Thanks for the help, much appreciated.

    Avatar: Eva
    Eva Kemp
    Participant
    November 14, 2015 at 17:39

    Hello,

    Glad to hear it.
    You’re welcome.

    Regards,
    Eva Kemp.

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

The issue related to '‘Missing translations’' has been successfully resolved, and the topic is now closed for further responses

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