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 26 replies, has 3 voices.

Last updated by Waqas Bin Hasan 1 year, 4 months ago.

Assisted by: Waqas Bin Hasan.

Author Posts
August 23, 2023 at 10:12 am #14277209

thomasS-239

we have chosen automatic translation. But only parts are translated, not everything. what could be the reason?

August 23, 2023 at 10:17 am #14277221

thomasS-239

only one part is translated on each page

Screen-JB-3.png
Screen-JB-2.png
Screen-JB.png
August 23, 2023 at 11:23 am #14277975

Waqas Bin Hasan
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting the support.

May I ask for the debug information of your website for an overview of your setup? See https://wpml.org/faq/provide-debug-information-faster-support/ for more information.

I've enabled the debug information section for your next reply.

Additionally you can also take a look at https://wpml.org/faq/checklist-before-opening-a-ticket-in-wpml-support/ and cross-check for a few initial fixes.

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

Regards.

August 23, 2023 at 11:38 am #14278077

thomasS-239

here are the debug informations

August 24, 2023 at 7:25 am #14282181

thomasS-239

Hi,
I had submitted yesterday and debug information. did these arrive? I haven't heard from you since.
Please provide feedback on the issue.
Many thanks

August 24, 2023 at 8:04 am #14282441

Dražen
Supporter

Languages: English (English )

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

Hi there,

Waqas is off today, so I am taking care of this ticket, hope that is OK. 🙂

Let's take one example, I have checked your Super Motorenöl ÖKO Gas-LPG product and could see the product title not translated.

1) Can you please share more info on how did you created this product in the default language? Since I do not see WooCommerce plugin.

2) Go to EN product frontpage, and in the top bar click edit translation. Check if the product title is showing there?

Let us know how it goes.

Regards,
Drazen

August 25, 2023 at 7:44 am #14289511

thomasS-239

Hi,

the products are stored as Custom Post Types.

The product title can be easily translated in the editor (see screenshot).
Just not in the front.

But it's not just about the products. All other content will not be translated either. A lot on the start page alone (see screenshot)
Overall, the translation is not complete.

How can we change this problem?

Best regards
Daniela Ruhnau

translation-start-2.png
translation-start-1.png
translation-russian.png
translation-german.png
translation-english.png
August 25, 2023 at 9:36 am #14290665

Waqas Bin Hasan
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for the details.

First of all, I'll advise to fix “WP Memory Limit” to at least 128MB while 256MB is recommended. See https://wpml.org/home/minimum-requirements/ for detailed information. You can set this in your wp-config.php file by adding following code:

define( 'WP_MEMORY_LIMIT', '128M' );
define( 'WP_MAX_MEMORY_LIMIT', '256M' );

Remember to add these lines before the line where it says:
/* That's all, stop editing! Happy publishing. */

Then please check the following guides about translating custom post types and custom fields:

- https://wpml.org/documentation/getting-started-guide/translating-custom-posts/
- https://wpml.org/documentation/getting-started-guide/translating-custom-fields/

Since you are using a custom post type for products, please make sure their translation options are set properly.

Besides the above mentioned, I see that you are using 2 page builders (Elementor & WPBakery Page Builder). I am not sure which is being used for these pages. However, I'll recommend checking the following guides on both builders and follow along:

- https://wpml.org/documentation/plugins-compatibility/elementor/
- https://wpml.org/documentation/plugins-compatibility/how-to-build-multilingual-sites-with-wpbakery-page-builder-and-wpml/

Lastly, check these guides about bringing, finding and translating strings from WPML String Translation:

- https://wpml.org/documentation/getting-started-guide/string-translation/
- https://wpml.org/documentation/getting-started-guide/string-translation/finding-strings-that-dont-appear-on-the-string-translation-page/

I hope these 'll help fixing most of the translation problems. Please let me know and I'll try my best to further help you on the matter.

August 29, 2023 at 11:43 am #14306719

thomasS-239

Hello,
unfortunately, the problem still persists that only parts of each page are translated.
How can we finally solve the problem?

Thanks.
Daniela Ruhnau

August 30, 2023 at 5:57 am #14310043

Waqas Bin Hasan
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for the updates.

May I ask for admin access to your website to check the issue in detail? You can create a separate admin user for this purpose, which can be deleted afterwards.

Also provide detailed steps to reproduce the issue and links to pages in admin and on frontend.

Remember to take full backup of your website and database before proceeding. However, a staging/test site is highly recommended, because I may need to try some changes/fixes on the site (including plugins & themes deactivation), which may cause conflicts with the live site otherwise.

Please confirm it in your next reply or let me know if you do not agree with the mentioned.

I've set your next reply as private to share this information safely.

IMPORTANT: If you don't see the section for providing access information, do not write in the message box or the information may appear as public.

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

August 30, 2023 at 1:08 pm #14314021

Waqas Bin Hasan
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for the details and the access. I'll check and update you latest by tomorrow.

August 31, 2023 at 6:52 am #14317199

Waqas Bin Hasan
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for your patience and cooperation.

I've checked in detail and found several issues, which usually we handle separately. But I've tried to fix these for English as an example. Please consider followings:

1) Banner slide missing on English and Russian
Because the way WP Bakery's Slider widget handles the image, you need to find the image ID in ATE and translate accordingly. You can use the same image ID or a different one as needed.

2) Headings like "Wissenswertes", "was ist Viskosität?" and etc were not translated
The heading widget needed to be registered in WPML -> Settings -> Custom XML Configuration:

<wpml-config>
  <shortcodes>
    <shortcode>
        <tag>rt_heading</tag>
        <attributes>
            <attribute>punchline</attribute>
        </attributes>
    </shortcode>
  </shortcodes>
</wpml-config>

So then its content can be found in ATE. See https://wpml.org/documentation/support/language-configuration-files/#page-builder-content for details.

3) Some strings like "Winter-Produkte" and etc, coming from "Content Box with Image" widget were not being translated
These were already present in ATE, but since the way this widget is handling some titles, you needed to search in the ATE and translate accordingly. See https://wpml.org/faq/how-to-translate-urls-shortcodes-and-html-attributes-using-the-advanced-translation-editor/ for more details.

4) Some of the other strings won't translate
I couldn't find any other thing like this. Except, that some widget like #2 may need to be register. You can simply do the following for that:
- Edit the page containing that widget, in default language.
- Switch to "Classic Mode".
- Find the Shortcode for that particular widget.
- Register it in WPML as mentioned in #2.
- Then switch back to "Backend Editor" mode.
- Make a little change like a dot or a letter in the content of that widget.
- Save.
- Update translation.

Other than these, I see menus, products, categories, header, footer and etc all translated correctly.

Some widget, like "Old Accordion" have been obsolete, its better to update the page builder, theme and other plugins and use the latest ones, to get better features/fixes support.

I'll recommend that if go through the above mentioned you'll fix all of these problems. I've set examples for English, while for Russian you can give it hands on for understanding on your staging site, before applying to the production.

If you need further help, then I'll advise to pick one problem for this ticket, while open separate tickets for each problem. Although these may look all related to the strings or translation, but as you noticed (above), each needs to be handled accordingly.

Please let me know.

P.S.: I've attached several screenshots referencing to all of the above mentioned.

Screenshot 2023-08-31 114923.jpg
Screenshot 2023-08-31 114917.jpg
Screenshot 2023-08-31 114910.jpg
Screenshot 2023-08-31 114901.jpg
Screenshot 2023-08-31 114855.jpg
Screenshot 2023-08-31 114848.jpg
Screenshot 2023-08-31 114841.jpg
Screenshot 2023-08-31 114833.jpg
Screenshot 2023-08-31 114825.jpg
Screenshot 2023-08-31 114817.jpg
Screenshot 2023-08-31 114804.jpg
product-ru.png
product-en.png
product-de.png
August 31, 2023 at 10:07 am #14319055

thomasS-239

Hi there,

Thank you for your feedback.

The new start page is now being completely translated.

Some translations are missing on the other pages.

Not all products are translated on the product pages. One yes, the one right next to it doesn't. (see the screenshot)

Then I noticed that the header is loaded later during translation and the text appears again above the header, including breadcrumbs. How can I turn this off? (see the screenshot)

The Oilfinder page is not translated at all.
This is an external link that was entered with HTML code.

We are almost there with the translations and now only have to clarify these points.

Best regards
Daniela Ruhnau

JB-single-product.png
JB-russian.png
JB-products.png
JB-oilfinder.png
JB-german.png
August 31, 2023 at 10:09 am #14319169

thomasS-239

Here are the links to the new pages:

hidden link

hidden link

hidden link

hidden link

hidden link

hidden link

hidden link

hidden link

hidden link

hidden link

hidden link

hidden link

hidden link

hidden link

August 31, 2023 at 12:40 pm #14320613

Waqas Bin Hasan
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for the details. I'll check again and update you latest by tomorrow.