• Resolved Anonymous User 17809219

    (@anonymized-17809219)


    I’m pulling out my hair here. I have tested this in any number of ways. I cannot get Elementor (on elementor hosting) to recognize this setting.

    I’ve streamlined the page to the barest minimum just two text containers. I want one to show when English is selected and one to show when Spanish is selected. Paragraph text gets translated but only the restricted to English version shows regardless of language selected.

    1. Doesn’t work regardless of where the flag is set. Floating or menu
    2. Cache and advanced cache cleared.
    3. Different browsers/computers.
    4. All plugins deactivated only Elementor, Elementor Pro and TranslatePress

      I have another WordPress website where I tested this and it works just fine. So it’s unlikely this is user error.

    Any help or clues will be appreciated.

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hey there,

    Thanks for reaching out!

    Did you use Conditional Shortcode Based on Language or did you use our Restrict Blocks by Language integration with Elementor?

    I will try to replicate this issue and get back to you!

    pibrom

    (@pibrom)

    Hello !
    I experienced the same issue while usine ‘restrict by language’ and ‘exclude from language’ integrated functionnalities into ELEMENTOR. Both features doesn’t work on front.
    I used 5 differents languages, and set 2 buttons with elementor. One is visible in french and hidden for all other languages, and the other one is hidden on french and visible for eash other languages.

    My WordPress Version :WordPress 6.6.1
    My ELEMENTOR version : Version 3.23.0-dev6
    My ELEMENTOR PRO Version : Version 3.23.1
    TranslatePress Multilingual : Version 2.8.1

    Thanks for your help !

    guys did you figure this out?

    NikkaG

    (@nikkag)

    Hello, I have the same issue:

    1. Does’t work Restrict Blocks by Language integration with Elementor (both Restrict and Exclude options)
    2. Does’t work Conditional Shortcodes like [trp_language language="en_US"] English content only [/trp_language]
    3. It works with with PHP code like this:
    <?php
    $current_language = get_locale();

    if( $current_language == 'en_EN' ){
    echo 'text in language en_EN';
    }

    if( $current_language == 'fr_FR' ){
    echo 'text in language fr_FR';
    }

    ?>


    WordPress 6.6.2
    Theme Hello Elementor 3.1.1
    Elementor 3.24.3
    Elementor PRO 3.24.2
    TranslatePress Multilingual 2.8.3

    • Caches cleared and disabled
    • All plugins deactivated only Elementor, Elementor Pro and TranslatePress
    • No errors in error.log / debug.log / access.log
    • I tried to change a lot of different options in Translatepress and Elementor (TP debug options, Elementor advanced options, etc..)
    • My website has 2 pages only, it’s very simply

    Any solution?

    Hi,

    What about that? I have the same problem! I saw that the status of this issue is resolved but where is the workflow ?

    • This reply was modified 4 months, 2 weeks ago by chrispet91.
    devsabbirbd

    (@devsabbirbd)

    I had the same issue, and after some digging, I found that the problem is related to Elementor’s Element Caching, which is an experimental feature. Once I disabled that option, everything started working as expected. The content now correctly shows according to the selected language in TranslatePress.

    To turn it off:

    1. Go to Elementor > Settings > Features
    2. Look for the Element Caching option
    3. Inactive Element Caching and save your settings.

    After doing this, my language restrictions worked perfectly! Hopefully, this solves the problem for you as well.

    NikkaG

    (@nikkag)

    Thanks @devsabbirbd! Tested and works.

    Thanks @devsabbirbd! You saved me. Tested and works.

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