Home Forums WoodMart support forum Cannot translate Add to compare button

Cannot translate Add to compare button

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #654882

    kirill7117
    Participant

    Hello.
    I can’t find this string in WPML String translation and I scanned the theme before searching.
    Woodmart version 8.1.2
    in code I can only find esc_html__( ‘Add to compare button’, ‘woodmart’ ) but I need Add to compare without “button”

    Attachments:
    You must be logged in to view attached files.
    #654972

    Hung Pham
    Keymaster

    Hi kirill7117,

    Thanks for reaching to us.

    + In order to change / translate words. Please make sure you synced the strings first before changing / translating WooCommerce, WordPress Cores file, WoodMart Core plugins and WoodMart theme. You can refer to article

    https://xtemos.com/docs-topic/theme-translation/
    https://xtemos.com/docs-topic/how-to-make-woodmart-multilingual-with-wpml/

    + You are also need to select the language for the backend and theme settings for admin from the admin user profile, please edit the user’s profile and then select the language for that user it will show the same on the backend.

    + Some strings related to Wishlist / Compare / Login & Register page, you can change in Theme Settings > Shop or Theme Settings > My account https://prnt.sc/W8Tt95stG3YC

    Regards,

    #654975

    kirill7117
    Participant

    Hi Hung Pham.

    I synced the strings as I said.
    There are no strings in Theme settings for this button.
    I don’t understand how user language is related in this case.
    Add to wishlist is translated normally while Add to compare not, please check your theme code.

    #654983

    kirill7117
    Participant

    Ok, I understood.
    Because in new WPML interface inactive themes are hidden and I use Woodmart child , I had to filter through inactive themes and select parent Woodmart theme to scan the strings. Now it is found.
    The issue is solved

    #655080

    Hung Pham
    Keymaster

    Hi kirill7117,

    Glad to hear your issue has been resolved. Keep us in mind for future questions and concerns, we’re always here to help!

    If you have a quick minute we always appreciate a 5-star rating on our theme!

    https://themeforest.net/item/woodmart-woocommerce-wordpress-theme/reviews/20264492

    Your feedback is the motivation to improve our work and services.

    Regards,

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

The topic ‘Cannot translate Add to compare button’ is closed to new replies.