Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
After completing automated translations and reviewing them, the website still appears mostly untranslated, with only a few elements like the top menu and contact form being translated. Additionally, the language switcher in the top menu is not functioning correctly.
Solution:
We recommend the following steps:
1. In WPML → Translations, ensure that the translations for the homepage in all languages are approved.
2. Temporarily deactivate the "Translate Everything Automatically" option in WPML → Settings and activate "Translate What You Choose". This change prevents pages from being automatically translated when new pages are published or changes are made, helping to identify missing translations.
3. Verify all content is present in the WPML Advanced Translation Editor. If any content is missing, adjust the custom fields by enabling "Show 'Multilingual Content Setup' meta box on post edit screen" in WPML → Settings → Custom Fields Translation. Make necessary adjustments to the custom fields when editing the page in the original language.
4. Since your theme is custom-made and relies on ACF fields, ensure it is compatible with WPML. A fatal error on the homepage indicates a problem with the theme's template. Consult your theme developer to resolve these issues, following the guidelines provided in the WPML Developer's Information.

If these steps do not resolve the issue or if the solution seems outdated or irrelevant to your case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If problems persist, please open a new support ticket.

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 13 replies, has 2 voices.

Last updated by Andrey 12 months ago.

Assisted by: Andrey.

Author Posts
May 14, 2024 at 11:04 am #15624861

agnieszkaM-14

I have completed the automated translations and also managed to reviewed them (almost) all.
However, the website seems not translated. Only few elements like top menu and the contact form got translated.
Also, the switcher on the top menu is not working properly.
Could you please have a Quick Look and let me know how to make it translated?

May 14, 2024 at 12:52 pm #15625432

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thank you for contacting WPML support.

Can you please show some examples? Sometimes screenshots illustrating what you mean may go a long way to clarify what words fail to transmit so if you like make use of "upload an image" below the comment area.

May 14, 2024 at 3:30 pm #15626222

agnieszkaM-14

Please see the screenshot as per the below:

01. The switcher doesn't switch the language, a dropdown list doesn't appear
02. Only the footer horizontal list is working and allows you to switch a language
03. Once changed into English - there are missing images
04. The content is not being translated and the text in the orange button got missed
05. By scrolling further down the content from following sections is missing
06. from the last section the content is also missing

04.png
06.png
02.png
01.png
03.png
05.png
May 14, 2024 at 5:00 pm #15626612

agnieszkaM-14

Hi,

Looks like everything got translated automatically again, what took me 23000 credits...
But still not working.
I can provide you with the credentials to WP admin to take a look

May 15, 2024 at 8:27 am #15628273

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

I need to request temporary access (wp-admin and FTP) to your site – preferably to a test site where the problem has been replicated if possible – in order to be of better help. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

May 15, 2024 at 8:16 pm #15632226

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

I have reviewed your website and noticed that your homepage is built with ACF, which could explain why not all the content has been translated, as it probably wasn't available for translation.

I went to WPML → Translations and approved the translation review for the English homepage in order to check the page in the WPML translation editor. Then, I edited the homepage in Polish and clicked on the pencil icon for English to be redirected to the WPML translation editor. I also noticed that you have deactivated the WPML translation editor, so I activated it for a minute to open the WPML translation editor. Indeed, not all the strings are present in the editor, which means they are not available and automatic translation, of course, didn't translate.

To ensure that your ACF text is translated and the images are copied, follow this article: https://wpml.org/documentation/related-projects/translate-sites-built-with-acf/.

Translations-‹-Perforowane-pl-—-WordPress.png
Edit-Page-“Strona-główna”-‹-Perforowane-pl-—-WordPress.png
May 20, 2024 at 10:51 am #15645029

agnieszkaM-14

Hi Andrey,

Thank you for your email and provided documentation.

I follow the documentation and still am confused. I cannot see the same options as the video tutorial shows. Once I click to view the translation I can only see a black page with the header.
To edit the translation the description field is not active for edition/review.
I've tried with the advanced and classic translation editor

As per your: "Then, I edited the homepage in Polish and clicked on the pencil icon for English to be redirected to the WPML translation editor." and then what happened? I don't see the translated homepage content at all. Only black page with the header. So nothing is getting translated.
How is possible that it took 23000 credits then?

Please assist

Screenshot 2024-05-20 at 12.28.32.png
Screenshot 2024-05-20 at 12.29.01.png
Screenshot 2024-05-20 at 12.29.35.png
Screenshot 2024-05-20 at 12.30.44.png
May 20, 2024 at 12:38 pm #15645793

agnieszkaM-14

If possible, please let me know how can I resolve this based on what is already done on my website. Step-by-step. I really need to have it done asap

May 20, 2024 at 2:21 pm #15646406

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thank you for your feedback. I will check this and let you know. I will also check about the credits.

May 21, 2024 at 8:32 am #15648778

agnieszkaM-14

FYI: I've just updated database to mysql8. Unfortunately, nothing has changed

Please let me know if you provide any paid support as I really need to complete these translation asap

May 21, 2024 at 9:23 am #15649103

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

We do not offer paid support, but I will assist you with this issue. I am investigating the problem.

May 21, 2024 at 12:56 pm #15650559

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Further checking involved approving the translations for the homepage for all languages in WPML → Translations as described above.

I temporarily deactivated the "Translate Everything Automatically" option in WPML → Settings and activated "Translate What You Choose". The pages won't automatically be translated after the change has been made or a new page has been published, which helps to identify if some parts are still missing in WPML Advanced Translation Editor.

You need to check if all the content persists in the WPML Advanced Translation Editor. If something is missing, you need to adjust the custom fields, save the original page, and make a minor change to it.

To adjust the custom fields, I activated the option "Show 'Multilingual Content Setup' meta box on post edit screen" for you in WPML → Settings → Custom Fields Translation. Whenever you edit the page in the original language, at the bottom of the page, you can see the custom fields section settings belonging to the page. Check if they are correct if you see missing content in the editor.

I have learned that your current theme is custom-made for your site needs and depends on ACF fields. The theme's template does not render the missing parts on the website and needs to be debugged.

For instance, if you go and open the English homepage hidden link, the page is not fully loaded because it has a fatal error.

[21-May-2024 12:19:05 UTC] PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /wp-content/themes/idve/index.php:94
Stack trace:
#0 /wp-includes/template-loader.php(106): include()
#1 /wp-blog-header.php(19): require_once('...')
#2 /index.php(17): require('...')
#3 {main}

Since debugging your custom theme is out of the scope of our support provided here, I recommend asking the theme developer to fix these issues for you and follow the WPML Developer Information to make it compatible with WPML.

Developer's Information:
https://wpml.org/documentation/support/

Once all theme issues are resolved, the completed translations will be visible on your website.

Perforowane-pl.png
Edit-Page-“Strona-główna”-‹-Perforowane-pl-—-WordPress(1).png
May 21, 2024 at 1:48 pm #15651112

agnieszkaM-14

Thank you for the explanation.

I would like to disconnect these 2 sites: hidden link and hidden link since both were built on customised theme. And I'll find another translate solution then.
Can I get a refund for pay-as-you-go credits? I have not paid them yet, your platform says that you gonna issue an invoice in the beginning of June. So actually it will not be a refund, just a credit note for the usage.

In few weeks I will connect another website with Astra theme which is compatible with your plugin

May 21, 2024 at 2:29 pm #15651311

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

I'm sorry that you're experiencing issues with your custom-built theme. If you plan to build a new site, refer to our list of compatible themes here: https://wpml.org/theme/.

Here are the steps (1-2) to unregister your site: https://wpml.org/faq/how-to-remove-the-this-site-is-registered-on-wpml-org-as-a-development-site-notice/#what-if-the-notice-still-appears-after-moving-to-production.

Please note that credits are non-refundable. However, I have added 25000 credits to your site as a gesture of appreciation considering your specific case.