Home Forums WoodMart support forum Header banner – WPML translation

Header banner – WPML translation

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #140634

    ivsa918
    Participant

    Hy, we have a problem with Header banner and WPML translation.
    In “theme settings” > “shop” > “header banner” there is a option to have a header banner, it offers to link a page via “Banner link” and display a text or html block via “Banner content”.
    We would like to know how to translate the “banner content” and to use a different link in “banner link” for different language.

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

    Hello,

    You need to create two HTML blocks each for each language.

    Navigate to WPML > String Translation > Choose the admin_text_woodmart_option from the dropdown and find the title and the content block https://prnt.sc/oy62wi

    Best Regards

    #140681

    ivsa918
    Participant

    We cannot find the mentioned string in domain string “admin_text_woodmart_option”.
    In attachment you can see all the strings that we have.

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

    Eric Watson
    Participant

    Hello,

    Try searching in admin_texts_xts-woodmart-options

    Kind Regards
    XTemos Studio

    #140689

    ivsa918
    Participant

    Reading trough changelog we concluded that in version 4.0 update there is “ADDED: Header banner shortcode translation to WPML”, we are currently on version 3.7.0
    Can you please instruct us in which file to add wpml tag for translation of header block?
    We are a development agency and we are familiar with wp, wpml and theme template custom code editing.

    #140694

    Eric Watson
    Participant

    Hello,

    You can add the translation tag to the file woodmart/wpml-config.xml
    http://prntscr.com/oy79pi

    Kind Regards
    XTemos Studio

    #140695

    ivsa918
    Participant

    And in which file we can find code related to header banner?

    #140697

    Eric Watson
    Participant

    Try to use these tags

    <key name="header_banner_link" />
    <key name="header_banner_shortcode" />

    Kind Regards
    XTemos Studio

    #141263

    ivsa918
    Participant

    Thanks, we registered it in wpml config and then translate it, it works, thank you.

    #141270

    You are welcome! If you have any questions please feel free to contact us.

    Best Regards

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

The topic ‘Header banner – WPML translation’ is closed to new replies.