• Resolved Stip

    (@joris85)


    Hi guys,

    I want to use TranslatePRess with Beaverbuilder and Woocommerce.

    In another language i would like to have different addons (page layout).
    Like show other category woocommerce products on a page.
    Do not show a certain block (so not translate, just disable).
    So i do not want to translate the name of the product, i would like to show a list of different products.

    Also i have another menu structure in the other language.
    Some just do not exist in the other language. They need to disappear.

    It looks that it is not possible to do the same as in WPML and Polylang that you can create a totally different page/menu for a different language.
    Am i correct or am i missing some feature/setting?

Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for reaching us!

    I think you can achieve this using a little CSS to condition certain elements, widgets based on languages.

    In short; you will have to assign to each element you want to condition based on language a unique class that you can later use together with: “.translatepress- *”

    Step one — Assign to the desired widget a unique class
    Step two — Visit: WordPress Admin Dashboard → Appearances → Customize → Additional CSS and add the: “.translatepress-*” class changing the: “*” with the desired language you want to hide the element and add after it the unique class.
    For this example we will assume that the default language is: “English” and that the country selected is “US”.

    The code will show something like this:

    .translatepress-en_US .your unique class {
    display: none !important;
    }

    P.S — You can find out the country code by visiting the general settings of the plugin: “TranslatePress”.
    Path: WordPress Admin Dashboard → Settings → TranslatePress General Settings.

    As for some users this is more complicated to implement, we have prepared a little tutorial in which we will show you exactly how to do this. You can watch it here:
    https://www.berrycast.com/conversations/e0725e3d-987a-5602-913c-821213365bf2

    Kind regards,

Viewing 1 replies (of 1 total)

The topic ‘Different page layout per language’ is closed to new replies.