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

Last updated by Raja Mohammed 4 years, 9 months ago.

Assisted by: Raja Mohammed.

Author Posts
August 11, 2020 at 12:01 pm #6776923

umarU

We did increased max vars variable the translation shows 100% complete but when i try to save or save & close its loading and doing nothing for about 10 to 15 minutes.

I think plugin has some issues with save translations.

August 12, 2020 at 4:55 am #6782517

Raja Mohammed
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I did not face any issue in saving translation it went through well, May be something else is preventing the save process, It would be good if you can provide me with the WordPress debug.log (not WPML debug information).

To enable it, open your wp-config.php file and look for define(‘WP_DEBUG’, false);. Change it to:

define('WP_DEBUG', true);
define( 'WP_DEBUG_LOG', true );

In this case, the errors will be saved to a debug.log log file inside the /wp-content/ directory.

Try saving the translation again this would save any errors in debug log, I would also request you to get the server error logs that would have more information.

If you can paste your debug.log to pastebin.com and provide me that link it would be great! (This is the cleanest way because sometimes the logs are long and create a complete mess in the discussion).

August 12, 2020 at 5:34 am #6782537

Raja Mohammed
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I have escalated the case to the compatibility developers, As the content created using zion builder is sending some fields that are not supposed to be translated using WPML editor there are a lot of fields coming from the builder which causes a lot of load on the server and hinders the save process and eventually fails to save the translations. In my local this works just because i had setup the environment to allow huge process which will not cause any timeout issue.

Basically this is a compatibility issue with ZIon builder, we are not sure how the builder is sending the translation to WPML editor as this sends all unnecessary fields to translation. Though the theme is compatible with WPML we have no idea when the builder added to the theme and I could not see any internal records for compatibility tests.

I would also suggest checking this with the theme support if they have any solution for this as i can see the Zion builder is not tested with WPML yet, May be they are maintaining the compatibility code for the page builder themselves which we are not aware of.

As of now i could conclude pages with complex layouts using Zion builder may have issue with translations done with WPML editor, The recommendation is to use Manual translations as mentioned in this documentation https://wpml.org/documentation/translating-your-contents/using-different-translation-editors-for-different-pages/

Screenshot 2020-08-12 at 10.40.09 AM.jpg
August 12, 2020 at 9:30 am #6784465

umarU

Ok I did the manual translation as well and page is created for arabic but its showing only with if i have page_id in url and lang=ar if you don't insert page id then its giving you 404 again.

August 12, 2020 at 11:08 am #6785409

Raja Mohammed
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I can access this link hidden link however i don't see the page is translated to Arabic, Can you please share the link that you are trying to access the for Arabic page? so that i can help better.

August 12, 2020 at 11:19 am #6785445

umarU

This is because i made arabic page as home page in wordpress. if you try to switch language to english it will still load same page. the language switcher is not working.

August 12, 2020 at 11:19 am #6785453

umarU

you have backend login details. you can check whats going on.

August 13, 2020 at 8:09 am #6792247

Raja Mohammed
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I can see the Home page is not Connected to Arabic translation Also I see a lot of Arabic Home page duplicated multiple time but not connected this is an issue that needs fuhrer debugging

I need a copy of your site to debug this on my local environment. Let me know if that is okay I can install All in one Migration plugin and take a copy for further testing.

August 13, 2020 at 8:15 am #6792261

umarU

Hi,

I have already provided everything. let me know what specific things you need.

August 14, 2020 at 8:00 am #6801107

Raja Mohammed
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I have secured a copy of your site to debug the issue on my local. I will update you in a while.

August 14, 2020 at 12:24 pm #6802853

Raja Mohammed
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I checked this further, The duplication process also fails with php input vars error, It seems like the content created with zion builder has some issue with duplication and translation using WPML.

I have an update from the compatibility team, The zion builder is not compatibility tested with WPML and I would request you to send ask the theme developer to follow this documentation: https://wpml.org/documentation/support/language-configuration-files/#2-1-translating-sub-keys-in-custom-fields, To be able to select the translatable texts only this will reduce the page load.

As of now you cannot use the duplication process, You can request the theme author to fix this for you. However, you can build the layout on the Translation manually with out duplication as you did for the English page.

August 17, 2020 at 11:28 am #6815067

umarU

How can i assign manual layout to english and arabic vise versa ? like if i have both pages duplicated when i switch english to arabic how it will load that arabic page that i duplicated ?

August 18, 2020 at 7:47 am #6820935

Raja Mohammed
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I have recorded the steps how to add and connect translation so that language switcher works hidden link

I hope this helps better, let me know if that helps.