Skip to content Skip to sidebar

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.

Tagged: 

This topic contains 7 replies, has 2 voices.

Last updated by Diego Pereira 3 years, 2 months ago.

Assisted by: Diego Pereira.

Author Posts
September 22, 2022 at 9:56 am #12102583

norbertK-12

Hi,
i'm working on new site hidden link and I have problems with translating Section Titles. They don't translate and I can't find them in string translation. I went through this topic: https://wpml.org/forums/topic/headers-are-not-translated/ and some more, similar and I can't find any solution to this problem.

Actually same goes with contact form.

September 22, 2022 at 5:31 pm #12106227

Diego Pereira

Hello, welcome to the WPML support Forum!

How are these heading widgets created? Is it through an Elementor widget, or are they generated by the theme?

Could you pelase send us a screenshot of the editing screen where this heading is created? I think the widget might not be registered by the author for translation: https://wpml.org/documentation/support/language-configuration-files/

September 23, 2022 at 7:46 am #12108941

norbertK-12

Hi, thank you 🙂
Of course, it looks like this: hidden link

September 23, 2022 at 12:03 pm #12111111

Diego Pereira

Please send us access to your WordPress dashboard (website URL, login and password) and FTP credentials (important). I'll check and do some quick tests. - Please use the private field to send the sensitive data - do not post if you do not see it.

It would be better if you give me a test site rather than the live site.

IMPORTANT: Please backup a working copy of site files and database before.

If more complex testing is needed, I may need to create a temporary local copy of your website. Do you authorize me to do this? If yes, please install these plugins:
Duplicator:
 https://wordpress.org/plugins/duplicator/

File Manager:
 https://wordpress.org/plugins/wp-file-manager/

All-in-one WP Migration
 hidden link

This will allow me to create a copy of your site and your content. Once the problem is resolved I will delete the local site. Please let me know if this is ok for you.

September 23, 2022 at 12:05 pm #12111113

Diego Pereira

May I kindly ask you to also install and activate this plugin? https://wordpress.org/plugins/jsm-show-post-meta/

It will be useful for this issue.

September 26, 2022 at 1:25 pm #12124963

Diego Pereira

Thanks!

I fixed the issue by adding the following code to WPML > Settings > Custom XML Configuration:

<wpml-config>
    <elementor-widgets>
        <widget name="heading">
            <conditions>
                <condition key="widgetType">section-titel-addons</condition>
            </conditions>
            <fields>
                <field type="Title" editor_type="LINE">section_title_text</field>
                <field type="Subtitle" editor_type="LINE">section_subtitle_text</field>
            </fields>
        </widget>
    </elementor-widgets>
</wpml-config>

After that, I did a small modification and the string was automatically translated on ATE.

Could you please review the translation and publish?

September 26, 2022 at 2:53 pm #12125607

norbertK-12

Hello Diego, thank you for your support. It worked - the translation is correct, great work 🙂 I still have issues with contact form (didn't translate) and 404 when I'm changing the language. Could you look into that as well? Thank you!

September 26, 2022 at 5:23 pm #12126361

Diego Pereira

Hi there,

Thanks for the feedback! I'm glad the issue is solved 🙂

For the 404 error, could you please go to Settings > Permalinks and re-save your permalink structure?

If the issue persist, could you open a new ticket on our forum, or start a new chat? Our policy is to investigate only one issue per ticket. This helps other users with similar problems.