Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 5 replies, has 2 voices.

Last updated by janK-65 4 years ago.

Assisted by: Bigul.

Author Posts
March 16, 2020 at 1:19 pm #5693581

janK-65

We are just about to relaunch our website using WPML with Elementor. The problem is: I translated templates for Header + Footer as described in the helpdesk. It only shows one language for the whole website (EN/DE). What can I do?

March 16, 2020 at 4:00 pm #5694929

Bigul
Supporter

Languages: English (English )

Timezone: Europe/Vienna (GMT+01:00)

Hi Jan,

Somehow you have disconnected from the chat. So we have converted the chat to a normal forum ticket.

We have a known issue with Elementor while using Jupiter X and have a workaround for this now. Please check the following ticket URL for more details and let me know your feedback.

https://wpml.org/forums/topic/elementor-footer-translation-not-working/#post-5694843

If you are not using Jupiter X, please share with me the debug information for this support ticket. See this link for how to get this information from your site and give it to us: http://wpml.org/faq/provide-debug-information-faster-support/

--
Thanks!

Bigul

March 17, 2020 at 1:37 pm #5701873

janK-65

Hi Bigul,

thanks for your support. I tried the workaround that you proposed. There is no such code in our version.

This is our Footer Code:

<?php
/**
 * The template for displaying the footer.
 *
 * @package OceanWP WordPress theme
 */ ?>

        </main><!-- #main -->

        <?php do_action( 'ocean_after_main' ); ?>

        <?php do_action( 'ocean_before_footer' ); ?>

        <?php
        // Elementor `footer` location
        if ( ! function_exists( 'elementor_theme_do_location' ) || ! elementor_theme_do_location( 'footer' ) ) { ?>

            <?php do_action( 'ocean_footer' ); ?>
            
        <?php } ?>

        <?php do_action( 'ocean_after_footer' ); ?>
                
    </div><!-- #wrap -->

    <?php do_action( 'ocean_after_wrap' ); ?>

</div><!-- #outer-wrap -->

<?php do_action( 'ocean_after_outer_wrap' ); ?>

<?php
// If is not sticky footer
if ( ! class_exists( 'Ocean_Sticky_Footer' ) ) {
    get_template_part( 'partials/scroll-top' );
} ?>

<?php
// Search overlay style
if ( 'overlay' == oceanwp_menu_search_style() ) {
    get_template_part( 'partials/header/search-overlay' );
} ?>

<?php
// If sidebar mobile menu style
if ( 'sidebar' == oceanwp_mobile_menu_style() ) {
    
    // Mobile panel close button
    if ( get_theme_mod( 'ocean_mobile_menu_close_btn', true ) ) {
        get_template_part( 'partials/mobile/mobile-sidr-close' );
    } ?>

    <?php
    // Mobile Menu (if defined)
    get_template_part( 'partials/mobile/mobile-nav' ); ?>

    <?php
    // Mobile search form
    if ( get_theme_mod( 'ocean_mobile_menu_search', true ) ) {
        get_template_part( 'partials/mobile/mobile-search' );
    }

} ?>

<?php
// If full screen mobile menu style
if ( 'fullscreen' == oceanwp_mobile_menu_style() ) {
    get_template_part( 'partials/mobile/mobile-fullscreen' );
} ?>

<?php wp_footer(); ?>
</body>
</html>
March 17, 2020 at 4:14 pm #5703557

Bigul
Supporter

Languages: English (English )

Timezone: Europe/Vienna (GMT+01:00)

Hi Jan,

Thank you for the updates. It looks like a different issue. Please fill the private details fields after a full site backup. I would like to access the admin area of your site for further checking.

Please check the following links for more details about our private information sharing policies.

https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

hidden link

--
Thanks!

Bigul

March 18, 2020 at 12:42 pm #5710711

Bigul
Supporter

Languages: English (English )

Timezone: Europe/Vienna (GMT+01:00)

Hi Jan,

Thank you for the login information. But I have a couple of doubts to track the issue.

1) How you are set the Templates for Header and Footer. Because I am not able to find it in Theme Panel or Customizer settings. Please check the attached images for more details.

2) Now WPML String Translation and Translation Management plugins are inactive. Which is required for the proper translation of Elementor. So any special reason to deactivate it? Please check the following documentation for more details.

https://wpml.org/documentation/plugins-compatibility/elementor/#what-you-need

--
Thanks!

Bigul

2020-03-18_1809_001.png
2020-03-18_1809.png
2020-03-18_1808.png
2020-03-18_1805.png
This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.