• br00gle

    (@melosconti)


    hi,
    i’ve checked every file ( i believe!) and i could not find where to translate in italian the word ITEMS present in the CART in the homepage.

    i’ve even tried using LOCO

    any help?

    thanks

Viewing 7 replies - 1 through 7 (of 7 total)
  • skandha

    (@skandha)

    @melosconti: Please post in your site URL so that I can look into the issues.

    Also for swift replies, post your issues and queries on our official theme support forum please post in our free forum at https://catchthemes.com/support-forum/

    Kind Regards,
    Skandha

    Thread Starter br00gle

    (@melosconti)

    skandha

    (@skandha)

    @melosconti: Can you let me know what have you used for translating the text of the theme?

    Kind Regards,
    Skandha

    Thread Starter br00gle

    (@melosconti)

    i tried LOCO TRANSLATE and also searched the word ITEM via editor in wordpress.

    skandha

    (@skandha)

    @melosconti: The word ‘items’ is translation ready but does not seem to show up while trying to translate using LOCO translate. I don’t think this is a theme related issue. Please try contacting the plugin support regarding this.

    Let me know if this helps you out!
    Kind Regards,
    Skandha

    Thread Starter br00gle

    (@melosconti)

    hold on! loco is just a plugin that i installed after I relized your theme would keep the word ITEMS instead of its italian translation.
    i have the same issue on 2 websites. so it’s a theme related issue.

    if you don’t know, then i’ll just go trough the file in ftp and replace the word item with PRODOTTO and items with PRODOTTI

    my search for help here was simply to understand where catch store theme is getting that word ITEM and what block/widget it is showing in homepage.

    @melosconti: When you use POEDIT to translate the file using the catch-store.pot file in the languages folder and you can find text item and items and translate but the words are not showing up when you search for it using the Loco Translate plugin.

    If you would like to change the text item and items in the theme file, firstly I suggest you to create a child theme. If you do not know how to create a child theme you can use Generate Child Theme Plugin.

    Then Go to => Child Theme folder => functions.php and add the following Code.

    function catch_store_cart_link() {
        ?>
            <a class="site-cart-contents" href="<?php echo esc_url( wc_get_cart_url() ); ?>" title="<?php esc_attr_e( 'View your shopping cart', 'catch-store' ); ?>">
                <?php echo catch_store_get_svg( array( 'icon' => 'shopping-bag', 'title' => esc_html__( 'View your shopping cart', 'catch-store' ) ) ); ?>
                <?php /* translators: number of items in the mini cart. */ ?>
                <span class="count"><?php echo wp_kses_data( sprintf( _n( '%d item', '%d items', WC()->cart->get_cart_contents_count(), 'catch-store' ), WC()->cart->get_cart_contents_count() ) );?></span><span class="sep"> / </span><span class="amount"><?php echo wp_kses_data( WC()->cart->get_cart_subtotal() ); ?></span>
            </a>
        <?php
    }

    Now find item and items and replace it with your translated text.

    Let me know if this helps you out!
    Kind Regards,
    Skandha

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘missing translation’ is closed to new replies.