New Landing How can we help? Themeforest Theme Support Dante Translation of "Add to cart" and "Select"

Viewing 11 posts - 1 through 11 (of 11 total)
  • Posted in: Dante
  • #42601
    esucces
    Member
    Post count: 80

    Hi there

    I cannot find a place to translate “Add to cart” and “Select” on product detail page.
    See attached screenshot.

    I have translated both Woocommerce and Dante theme and these are the only two terms I just can get in place.

    Hope you can help.

    /Jan

    #42925
    Melanie – SUPPORT
    Member
    Post count: 11032

    Hi, can you let us know on which version of the theme you are?

    #42948
    esucces
    Member
    Post count: 80

    Only 1.2, I see there is an 1.5. Is it solved in that version?

    #42990
    esucces
    Member
    Post count: 80

    I updated to 1.5, this is not resolved – I need a fix please!

    #43519
    Melanie – SUPPORT
    Member
    Post count: 11032

    Hi, have you rescanned your translation files to see if the strings are added now?

    Are you using poedit or codestyling customization?

    #43552
    esucces
    Member
    Post count: 80

    poedit, yes I tried to rescan the files…

    #44231
    esucces
    Member
    Post count: 80

    I really need to have this fixed, I hope you can help?

    Or how can I “hardcode” this, which files do I need to edit?

    Cheers,
    Jan

    #44950
    Melanie – SUPPORT
    Member
    Post count: 11032

    I’ll forward this to the developer

    #45096
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi @esucces,

    These are both part of the WooCommerce po file, not the theme translation file.

    If you need to change the add to cart text by hardcoding it, you’ll find it in /woocommerce/single-proudct/add-to-cart/

    “Select” is within /woocommerce/single-proudct/add-to-cart/variable.php

    Hope that helps.

    – Ed

    #45258
    esucces
    Member
    Post count: 80

    Hi Ed

    I need to disagree with you ๐Ÿ™‚

    For example \dante\woocommerce\single-product\add-to-cart\simple.php
    <?php
    $button_text = ‘<i class=”ss-cart”></i>’ . apply_filters(‘single_add_to_cart_text’, __(“Add to shopping bag”, “swiftframework”), $product->product_type);
    ?>

    This is the original Woocommerce file:
    <button type=”submit” class=”single_add_to_cart_button button alt”><?php echo apply_filters(‘single_add_to_cart_text’, __( ‘Add to cart’, ‘woocommerce’ ), $product->product_type); ?></button>

    See the difference? You used Add to shopping bag…from the swiftframework?!

    Same goes for variable.php. The term you use is “select”, the original is “Choose an option”. So that create errors ๐Ÿ™‚

    Simular problem is with “Apply” on the cart page.
    You use “Apply”, woocommerce original is “Apply Coupon”.

    So I believe you should get rid of these bugs in the next version ๐Ÿ™‚

    #45943
    Melanie – SUPPORT
    Member
    Post count: 11032

    Thank you for the kind notification, I’m sure Ed will take a look at this!

    All the best

Viewing 11 posts - 1 through 11 (of 11 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register