Template html header translation with WPML

Top WooCommerce & WordPress Plugins Forums Related Categories for WooCommerce Template html header translation with WPML

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #119998
    kootj.net
    Participant

    hi, i translated the template html header using WMPL String Translation but the frontend always shows the original temaple html header where i inserted a title. So i would like to know he right way to translate this template html header.

    #120330
    kootj.net
    Participant

    Resolved, we don’t use String translation or WPML in general but we have to use “Related Categories” shortcode, exmaple:

    [alg_wc_related_categories_translate lang="DE"]Verwandte Kategorien[/alg_wc_related_categories_translate][alg_wc_related_categories_translate not_lang="DE"]Related categories[/alg_wc_related_categories_translate]
    #120668
    Moshtafizur
    Moderator
    Plugin Support

    Hi there,

    I am glad to know the issue has been resolved.

    Kind regards,
    Moshtafizur

    #120812
    kootj.net
    Participant

    With this shortcode

    <h2 class="widget-title">[alg_wc_related_categories_translate lang="IT"]Categorie Correlate[/alg_wc_related_categories_translate][alg_wc_related_categories_translate not_lang="IT"]Related categories[/alg_wc_related_categories_translate]</h2>

    woocommere continuated to show both title so i try with this:

    [alg_wc_related_categories_translate lang="IT"]<h2 class="widget-title">Categorie correlate</h2>[/alg_wc_related_categories_translate]
    [alg_wc_related_categories_translate lang="EN"]<h2 class="widget-title">Related categories</h2>[/alg_wc_related_categories_translate]

    and it seems to works.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.