Dies ist das technische Support-Forum für WPML - das mehrsprachige WordPress-Plugin.

Mitlesen können alle, doch nur WPML-Kunden können hier Fragen veröffentlichen. Das WPML-Team beantwortet Anfragen im Forum an 6 Tagen pro Woche, 22 Stunden am Tag.

This topic contains 6 Antworten, has 2 Teilnehmer.

Last updated by simonP-7 vor 12 Monate.

Assigned support staff: Cristina.

Autor Beiträge
Oktober 8, 2018 um 3:20 pm #2796638

simonP-7

Dear WPML Team

I have a German Webseite hidden link. Now Im trying to translate the theme into english. The theme should be 100% WPML compatible.

Now Im trying to translate the homepage but I do not have the possibility to translate the text elements or most probably Im doing something wrong.

If I want to translate the page I have only following fields I can translate. Check the attachment.

Oktober 8, 2018 um 5:16 pm #2797007

Cristina

Hallo Simon,

thanks for contacting and for the debug information.

Please check that on the page in the metabox for multililngual content, that the page is set to be translatable and that any custom field with text is set to translate.

As your Theme uses Visual Composer, please check if there is a file called wpml-config.xml inside the theme folder. If not, please add the language configuration file for Visual Composer to the XML tab in WPML >Settings > XML Configuration.

You will find the code here:
hidden link

Please copy and paste this code to the empty field and then visit the page WPML > Themes and Plugins Localization which reads the code out. After this open the original page and change a detail and save the page again, so the information will be updated. Then open the translation and check again if the missing fields appear.

<wpml-config>
	<custom-fields>
		<custom-field action="ignore">_vc_post_settings</custom-field>
	</custom-fields>
    <shortcodes>
        <shortcode>
            <tag>vc_column_text</tag>
        </shortcode>
        <shortcode>
            <tag>vc_text_separator</tag>
            <attributes>
                <attribute encoding="allow_html_tags">title</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_message</tag>
        </shortcode>
        <shortcode>
            <tag>vc_toggle</tag>
            <attributes>
                <attribute encoding="allow_html_tags">title</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_tta_accordion</tag>
            <attributes>
                <attribute encoding="allow_html_tags">title</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_tta_tour</tag>
            <attributes>
                <attribute encoding="allow_html_tags">title</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_tta_tabs</tag>
            <attributes>
                <attribute encoding="allow_html_tags">title</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_tta_pageable</tag>
            <attributes>
                <attribute encoding="allow_html_tags">title</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_tta_section</tag>
            <attributes>
                <attribute encoding="allow_html_tags">title</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_custom_heading</tag>
            <attributes>
                <attribute encoding="allow_html_tags">text</attribute>
                <attribute encoding="vc_link" type="link">link</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag encoding="base64">vc_raw_html</tag>
        </shortcode>
        <shortcode>
            <tag>vc_progress_bar</tag>
            <attributes>
                <attribute encoding="allow_html_tags">title</attribute>
				<attribute type="area" encoding="urlencoded_json">values</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_pie</tag>
            <attributes>
                <attribute encoding="allow_html_tags">title</attribute>
                <attribute>label_value</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_round_chart</tag>
            <attributes>
                <attribute encoding="allow_html_tags">title</attribute>
				<attribute type="area" encoding="urlencoded_json">values</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_btn</tag>
            <attributes>
                <attribute encoding="allow_html_tags">title</attribute>
                <attribute encoding="vc_link" type="link">link</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_cta</tag>
            <attributes>
                <attribute encoding="allow_html_tags">h2</attribute>
                <attribute encoding="allow_html_tags">h4</attribute>
                <attribute encoding="allow_html_tags">btn_title</attribute>
                <attribute encoding="vc_link" type="link">btn_link</attribute>
                <attribute encoding="vc_link" type="link">i_link</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_line_chart</tag>
            <attributes>
                <attribute encoding="allow_html_tags">title</attribute>
				<attribute>x_values</attribute>
				<attribute type="area" encoding="urlencoded_json">values</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_single_image</tag>
            <attributes>
                <attribute encoding="allow_html_tags">title</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_gallery</tag>
            <attributes>
                <attribute encoding="allow_html_tags">title</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_images_carousel</tag>
            <attributes>
                <attribute encoding="allow_html_tags">title</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_widget_sidebar</tag>
            <attributes>
                <attribute encoding="allow_html_tags">title</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_posts_slider</tag>
            <attributes>
                <attribute encoding="allow_html_tags">title</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_video</tag>
            <attributes>
                <attribute encoding="allow_html_tags">title</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_gmaps</tag>
            <attributes>
                <attribute encoding="allow_html_tags">title</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_flickr</tag>
            <attributes>
                <attribute encoding="allow_html_tags">title</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_wp_search</tag>
            <attributes>
                <attribute encoding="allow_html_tags">title</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_wp_meta</tag>
        </shortcode>
        <shortcode>
            <tag>vc_wp_recentcomments</tag>
        </shortcode>
        <shortcode>
            <tag>vc_wp_calendar</tag>
            <attributes>
                <attribute encoding="allow_html_tags">title</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_wp_pages</tag>
        </shortcode>
        <shortcode>
            <tag>vc_wp_tagcloud</tag>
            <attributes>
                <attribute>taxonomy</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_wp_custommenu</tag>
            <attributes>
                <attribute encoding="allow_html_tags">title</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_wp_text</tag>
            <attributes>
                <attribute encoding="allow_html_tags">title</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_wp_posts</tag>
        </shortcode>
        <shortcode>
            <tag>vc_wp_categories</tag>
        </shortcode>
        <shortcode>
            <tag>vc_wp_archives</tag>
        </shortcode>
        <shortcode>
            <tag>vc_wp_rss</tag>
             <attributes>
                <attribute>items</attribute>
                <attribute encoding="allow_html_tags">title</attribute>
                <attribute>url</attribute>
            </attributes>
        </shortcode>	
        <shortcode>
            <tag>vc_hoverbox</tag>
            <attributes>
                <attribute encoding="allow_html_tags">primary_title</attribute>
                <attribute encoding="vc_link" type="link">primary_title_link</attribute>
                <attribute encoding="allow_html_tags">hover_title</attribute>
                <attribute>content</attribute>
                <attribute encoding="vc_link" type="link">hover_title_link</attribute>
                <attribute encoding="allow_html_tags">hover_btn_title</attribute>
                <attribute encoding="vc_link" type="link">hover_btn_link</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_accordion</tag>
            <attributes>
                <attribute encoding="allow_html_tags">title</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_accordion_tab</tag>
            <attributes>
                <attribute encoding="allow_html_tags">title</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_basic_grid</tag>
            <attributes>
                <attribute encoding="allow_html_tags">btn_custom_text</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_button</tag>
            <attributes>
                <attribute encoding="allow_html_tags">title</attribute>
                <attribute encoding="vc_link" type="link">href</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_button2</tag>
            <attributes>
                <attribute encoding="vc_link" type="link">link</attribute>
                <attribute encoding="allow_html_tags">title</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_carousel</tag>
            <attributes>
                <attribute encoding="allow_html_tags">title</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_cta_button</tag>
            <attributes>
                <attribute>call_text</attribute>
                <attribute encoding="allow_html_tags">title</attribute>
                <attribute encoding="vc_link" type="link">href</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_cta_button2</tag>
            <attributes>
                <attribute encoding="allow_html_tags">h2</attribute>
                <attribute encoding="allow_html_tags">h4</attribute>
                <attribute encoding="vc_link" type="link">link</attribute>
                <attribute encoding="allow_html_tags">title</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_masonry_grid</tag>
            <attributes>
                <attribute encoding="allow_html_tags">btn_title</attribute>
                <attribute>btn_outline_custom_hover_text</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_masonry_media_grid</tag>
            <attributes>
                <attribute encoding="allow_html_tags">btn_title</attribute>
                <attribute>btn_custom_text</attribute>
                <attribute>btn_outline_custom_hover_text</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_media_grid</tag>
            <attributes>
                <attribute encoding="allow_html_tags">btn_title</attribute>
                <attribute>btn_custom_text</attribute>
                <attribute>btn_outline_custom_hover_text</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_posts_grid</tag>
            <attributes>
                <attribute encoding="allow_html_tags">title</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_tab</tag>
            <attributes>
                <attribute encoding="allow_html_tags">title</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_tabs</tag>
            <attributes>
                <attribute encoding="allow_html_tags">title</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_tour</tag>
            <attributes>
                <attribute encoding="allow_html_tags">title</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_tweetmeme</tag>
            <attributes>
                <attribute>share_text_page_title</attribute>
                <attribute>share_text_custom_text</attribute>
            </attributes>
        </shortcode>
	<shortcode>
            <tag>contact-form-7</tag>
            <attributes>
                <attribute>id</attribute>
            </attributes>
        </shortcode>
    </shortcodes>
</wpml-config>

This theme is not in our official compatibility list, that you can find here:
https://wpml.org/documentation/theme-compatibility/

Unfortunately, we cannot control what Theme authors publish in Themeforest. Though most of the themes marked as compatible are translatable there may be theme modules that are not fully compatible.

If the manually added XML does not solve anything, and there are not unfinished versions of the page that block the homepage, I would need to verify the problem on your site
For this I am enabling the private reply box, so you can give us a temporary access to the site to verify the problem.

To escalate the issue in case there is any compatibility problem I would need reproduce the issue in a fresh installation. For this we would need to use your site as test and download a thin duplicate in order to reproduce the problem in a clean install.

We will try to find a workaround and provide it for you, but this will be done only if it is a minor and harmless change that does not affect the correct function of the site.

Thank you and kind regards,
Cristina

Oktober 9, 2018 um 8:48 am #2799002

simonP-7

thank you for your answer. The xml is missing in the theme folder but I can not sign up for hidden link. It ask me for sign in only.

Oktober 10, 2018 um 9:44 pm #2805905

Cristina

Hello Simon,

this is the code from that page, I copied that in the last post for you in case you could not retrieve it from git:

You can use this:
Paste it in the XML configuration tab in WPML > Settings, save it and then visit the page WPML > Themes and Plugins localization. Then its read.

After re-saving a page, the translation should show the content fields of the composer.

<wpml-config>
	<custom-fields>
		<custom-field action="ignore">_vc_post_settings</custom-field>
	</custom-fields>
    <shortcodes>
        <shortcode>
            <tag>vc_column_text</tag>
        </shortcode>
        <shortcode>
            <tag>vc_text_separator</tag>
            <attributes>
                <attribute encoding="allow_html_tags">title</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_message</tag>
        </shortcode>
        <shortcode>
            <tag>vc_toggle</tag>
            <attributes>
                <attribute encoding="allow_html_tags">title</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_tta_accordion</tag>
            <attributes>
                <attribute encoding="allow_html_tags">title</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_tta_tour</tag>
            <attributes>
                <attribute encoding="allow_html_tags">title</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_tta_tabs</tag>
            <attributes>
                <attribute encoding="allow_html_tags">title</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_tta_pageable</tag>
            <attributes>
                <attribute encoding="allow_html_tags">title</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_tta_section</tag>
            <attributes>
                <attribute encoding="allow_html_tags">title</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_custom_heading</tag>
            <attributes>
                <attribute encoding="allow_html_tags">text</attribute>
                <attribute encoding="vc_link" type="link">link</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag encoding="base64">vc_raw_html</tag>
        </shortcode>
        <shortcode>
            <tag>vc_progress_bar</tag>
            <attributes>
                <attribute encoding="allow_html_tags">title</attribute>
				<attribute type="area" encoding="urlencoded_json">values</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_pie</tag>
            <attributes>
                <attribute encoding="allow_html_tags">title</attribute>
                <attribute>label_value</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_round_chart</tag>
            <attributes>
                <attribute encoding="allow_html_tags">title</attribute>
				<attribute type="area" encoding="urlencoded_json">values</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_btn</tag>
            <attributes>
                <attribute encoding="allow_html_tags">title</attribute>
                <attribute encoding="vc_link" type="link">link</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_cta</tag>
            <attributes>
                <attribute encoding="allow_html_tags">h2</attribute>
                <attribute encoding="allow_html_tags">h4</attribute>
                <attribute encoding="allow_html_tags">btn_title</attribute>
                <attribute encoding="vc_link" type="link">btn_link</attribute>
                <attribute encoding="vc_link" type="link">i_link</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_line_chart</tag>
            <attributes>
                <attribute encoding="allow_html_tags">title</attribute>
				<attribute>x_values</attribute>
				<attribute type="area" encoding="urlencoded_json">values</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_single_image</tag>
            <attributes>
                <attribute encoding="allow_html_tags">title</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_gallery</tag>
            <attributes>
                <attribute encoding="allow_html_tags">title</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_images_carousel</tag>
            <attributes>
                <attribute encoding="allow_html_tags">title</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_widget_sidebar</tag>
            <attributes>
                <attribute encoding="allow_html_tags">title</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_posts_slider</tag>
            <attributes>
                <attribute encoding="allow_html_tags">title</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_video</tag>
            <attributes>
                <attribute encoding="allow_html_tags">title</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_gmaps</tag>
            <attributes>
                <attribute encoding="allow_html_tags">title</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_flickr</tag>
            <attributes>
                <attribute encoding="allow_html_tags">title</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_wp_search</tag>
            <attributes>
                <attribute encoding="allow_html_tags">title</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_wp_meta</tag>
        </shortcode>
        <shortcode>
            <tag>vc_wp_recentcomments</tag>
        </shortcode>
        <shortcode>
            <tag>vc_wp_calendar</tag>
            <attributes>
                <attribute encoding="allow_html_tags">title</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_wp_pages</tag>
        </shortcode>
        <shortcode>
            <tag>vc_wp_tagcloud</tag>
            <attributes>
                <attribute>taxonomy</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_wp_custommenu</tag>
            <attributes>
                <attribute encoding="allow_html_tags">title</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_wp_text</tag>
            <attributes>
                <attribute encoding="allow_html_tags">title</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_wp_posts</tag>
        </shortcode>
        <shortcode>
            <tag>vc_wp_categories</tag>
        </shortcode>
        <shortcode>
            <tag>vc_wp_archives</tag>
        </shortcode>
        <shortcode>
            <tag>vc_wp_rss</tag>
             <attributes>
                <attribute>items</attribute>
                <attribute encoding="allow_html_tags">title</attribute>
                <attribute>url</attribute>
            </attributes>
        </shortcode>	
        <shortcode>
            <tag>vc_hoverbox</tag>
            <attributes>
                <attribute encoding="allow_html_tags">primary_title</attribute>
                <attribute encoding="vc_link" type="link">primary_title_link</attribute>
                <attribute encoding="allow_html_tags">hover_title</attribute>
                <attribute>content</attribute>
                <attribute encoding="vc_link" type="link">hover_title_link</attribute>
                <attribute encoding="allow_html_tags">hover_btn_title</attribute>
                <attribute encoding="vc_link" type="link">hover_btn_link</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_accordion</tag>
            <attributes>
                <attribute encoding="allow_html_tags">title</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_accordion_tab</tag>
            <attributes>
                <attribute encoding="allow_html_tags">title</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_basic_grid</tag>
            <attributes>
                <attribute encoding="allow_html_tags">btn_custom_text</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_button</tag>
            <attributes>
                <attribute encoding="allow_html_tags">title</attribute>
                <attribute encoding="vc_link" type="link">href</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_button2</tag>
            <attributes>
                <attribute encoding="vc_link" type="link">link</attribute>
                <attribute encoding="allow_html_tags">title</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_carousel</tag>
            <attributes>
                <attribute encoding="allow_html_tags">title</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_cta_button</tag>
            <attributes>
                <attribute>call_text</attribute>
                <attribute encoding="allow_html_tags">title</attribute>
                <attribute encoding="vc_link" type="link">href</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_cta_button2</tag>
            <attributes>
                <attribute encoding="allow_html_tags">h2</attribute>
                <attribute encoding="allow_html_tags">h4</attribute>
                <attribute encoding="vc_link" type="link">link</attribute>
                <attribute encoding="allow_html_tags">title</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_masonry_grid</tag>
            <attributes>
                <attribute encoding="allow_html_tags">btn_title</attribute>
                <attribute>btn_outline_custom_hover_text</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_masonry_media_grid</tag>
            <attributes>
                <attribute encoding="allow_html_tags">btn_title</attribute>
                <attribute>btn_custom_text</attribute>
                <attribute>btn_outline_custom_hover_text</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_media_grid</tag>
            <attributes>
                <attribute encoding="allow_html_tags">btn_title</attribute>
                <attribute>btn_custom_text</attribute>
                <attribute>btn_outline_custom_hover_text</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_posts_grid</tag>
            <attributes>
                <attribute encoding="allow_html_tags">title</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_tab</tag>
            <attributes>
                <attribute encoding="allow_html_tags">title</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_tabs</tag>
            <attributes>
                <attribute encoding="allow_html_tags">title</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_tour</tag>
            <attributes>
                <attribute encoding="allow_html_tags">title</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>vc_tweetmeme</tag>
            <attributes>
                <attribute>share_text_page_title</attribute>
                <attribute>share_text_custom_text</attribute>
            </attributes>
        </shortcode>
	<shortcode>
            <tag>contact-form-7</tag>
            <attributes>
                <attribute>id</attribute>
            </attributes>
        </shortcode>
    </shortcodes>
</wpml-config>

If there are fields missing, they may be custom modules added by the theme with shortcodes. In that case, you have the option to register the shortcodes manually and add them to the list in the XML tab.

Here is a tutorial and information page about what this kind of code and files are:
https://wpml.org/documentation/support/language-configuration-files/
https://wpml.org/documentation/support/language-configuration-files/overriding-language-configuration-files/

If your theme has some custom shortcodes that you cannot find, you can look in the theme folder if there is a file that lists the shortcodes for the composer. Using that information or the source code of the editor in text mode (classic mode) you can find the name of the shortcode and the attributes. This can be then added as to the list of shortcodes in the xml config.

I am enabling the private reply box for your next answer. You can link the theme zip, so I would test this on a sandbox site.

If you want me to check this on your site, I can do it, but I would then request permission to use a helper Plugin, the Multilingual Tools plugin to check it.

But please make a backup before granting any access.

Kind regards,
Cristina

Oktober 15, 2018 um 9:31 am #2816787

Cristina

Hello Simon,

sorry for the late response.

I think the issue is not the theme but the setup here:

You have defined in WPML > Einstellungen the posts, pages, custom post types and everything with "Übersetzbar - Übersetzung nutzen, sofern verfügbar, oder auf Standardsprache zurückgreifen".

Also, all custom fields are set to "translate", which may be not necessary.

There are things that should be made translatable, but other should not be translated, like theme layouts and design fields, because these are not translatable texts but design options and static elements that may not work if set to "translate".

I will now make a test install with the theme and the components of your site to check the correct configuration for them. As there are shortcodes that may not be translatable I will check this too.
I also saw that the Gutenberg-Plugin is active, though if it is not used it should not interfere with the rest of the content in the editor or page builder fields.

Kind regards,
Cristina

Oktober 22, 2018 um 8:30 pm #2839761

Cristina

Hallo Simon,

sorry for the delays, I had some issues to find where the shortcodes were created and how to add them.

I have added this to the xml configuration tab to show the texts of the homepage in the translation editor.

Now the Translation Editor shows the text fields with titles and some other fields you may want to translate.

    
    <shortcode>
            <tag>nd_options_post_grid</tag>
        </shortcode>
        <shortcode>
            <tag>nd_options_text</tag>
            <attributes>
                <attribute>nd_options_text</attribute>
            </attributes>
        </shortcode>
        <shortcode>
            <tag>nd_options_divider</tag>
        </shortcode>
        <shortcode>
            <tag>nd_booking_rooms_pg</tag>
        </shortcode>
        <shortcode>
            <tag>nd_options_services</tag>
            <attributes>
                <attribute>nd_options_title</attribute>
                <attribute>nd_options_description</attribute>
                <attribute>nd_options_link</attribute>
            </attributes>
        </shortcode>

These shortcodes are added to the theme via the plugin ND Shortcodes. There are several shortcodes that are automatically added to the Visual Composer.

For WPML these shortcode modules have to be registered separatedly in the XML config. I have installed the plugin "multilingual tools" in case you need to register more shortcodes.

You basically have to check in classic mode on a page, which shortcode name is used, and which parameter is used as text field. If you register the fields containing text, they will appear in the Translation Editor, following the model above.

You will find more information about these kind of custom fields and shortcodes in our documentation here:

https://wpml.org/documentation/support/wpml-integration-with-page-builders-that-use-shortcodes/

https://wpml.org/documentation/support/language-configuration-files/

Kind regards,
Cristina

Oktober 24, 2018 um 9:26 am #2845591

simonP-7

My issue is resolved now. Thank you! Very professional Support by Cristina. She helped me a lot.