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.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 12:00 7:00 – 12:00 7:00 – 12:00 7:00 – 12:00 7:00 – 12:00 -
- 13:00 – 16:00 13:00 – 16:00 13:00 – 16:00 13:00 – 16:00 13:00 – 16:00 -

Supporter timezone: America/Sao_Paulo (GMT-03:00)

Tagged: 

This topic contains 10 replies, has 2 voices.

Last updated by Lucas Vidal de Andrade 1 year, 6 months ago.

Assisted by: Lucas Vidal de Andrade.

Author Posts
November 24, 2023 at 11:11 am #14916179

pimK-3

We are trying to duplicate the dutch content to the other languages. Some pages, we can edit, then copy to english and german. Some page we try to copy, and it only copies to german, english is made. But the advanced automatic translations tries to translate this.

We want every page copied, so the user can fill in the transalations. Not the automated translations. I don't seem to be able to copy certain pages, it will not copy the content, only create the page and it shows a gear icon instead of a pencil.

Screenshot 2023-11-24 at 12.10.33.png
Screenshot 2023-11-24 at 12.10.22.png
November 27, 2023 at 11:14 am #14929297

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello,

thank you for reaching out to us. I understand your issue. To solve it, let's first try and increase your memory limit.

WPML requires a memory limit of at least 128 MB, while 256 MB is recommended. You can set the WP memory limit in your wp-config.php file by adding the following code:

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

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

See https://wordpress.org/support/article/editing-wp-config-php/#increasing-memory-allocated-to-php for more details.

The gear icon means that the translation is not yet complete. Please increase the memory and share your results with me. In case you need any further assistance, let me know.

Best regards,

Lucas Vidal

November 28, 2023 at 2:35 pm #14940939

pimK-3

Hi Lucas,

Thank you for your reply. I upgraded the memory via WP but no effect.

When i try to copy page A for example. Everything goes well. I edit page A, add the copy check and press copy. The page A is available in German and English. When i edit page B. Check the copy and press copy. The page just reloads. It creates a post in German and English. But not with the original content. Sometimes only one language gets a correct copy, the other just creates a page with no content,

Any idea on this?

November 28, 2023 at 5:46 pm #14943375

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Thank you for following the recommendations. Since it has no effect I'd like to go on take a look on a staging version of your website. Could you please provide the access to a staging version for me?

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.

Maybe I'll need to replicate your site locally. For this, I’ll need to temporarily install a plugin called “Duplicator” or "All in One WP Migration" on your site. 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. Let me know if this is ok with you.

IMPORTANT

- Please make a backup of site files and database before providing us access.
- If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this:

hidden link

December 1, 2023 at 9:23 am #14970363

pimK-3

Hi Lucas,

Did you make any progress? We noticed an error on the homepage now.

December 1, 2023 at 1:10 pm #14973017

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello,

Our development is still working on it. I asked them for a feedback and will post it here as soon as I have it. Would you mind sharing the error with us? We can them check if it's related to the issue you initially reported.

December 4, 2023 at 10:43 am #14985339

pimK-3

Hi Lucas,

Made any progress yet? Can we copy all the pages with content. The error we see, is some deprecation message in the menu_walker.

We don't have a menu anymore as well.

Love to hear from you

Screenshot 2023-12-04 at 11.42.21.png
December 4, 2023 at 5:19 pm #14990303

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello,

Thank you for the updates. I'm still waiting for the feedback from our developers. On Friday, they sent me a possible solution that unfortunately didn't work, so we are looking for another way to solve your issue. As for the menu and the deprecation message, it doesn't seem to be related to WPML. To make sure, I recommend you deactivate all WPML related plugins on a staging version of your site to see if the problem persists. Would you kindly do that and give me feedback? I'll let you know as soon as we have an update from the developing team.

December 6, 2023 at 5:19 pm #15010921

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello,

After talking to the developers, we came up with a workaround. We were able to implement and test it on your staging website. Please add the following line of code to your theme's function.php file:

add_filter('acf/settings/remove_wp_meta_box', '__return_false');

Then, visit Plugins > Plugin File Editor and select the Advanced Custom Fields Multilingual to edit. Go to the file Go to: acfml\classes\class-wpml-acf-field-annotations.php and comment out the line:

$this->field_original_value( $field, $post_id );

To comment out the line, you can simply add "//" in front of it. The final code should look like this (I added the line before and after it, so you can see the context on which it appears):

		if ( $post_id ) {
		//	$this->field_original_value( $field, $post_id );
			$this->display_translated_warning( $field );
		}

Please let me know if you need any assistance implementing this change. Also, if you manage to add everything, please share your results.

Best regards,

Lucas Vidal

December 7, 2023 at 10:44 am #15015799

pimK-3

Hi lucas,

We might have fixed it ourself. We started fresh, now it seems to work, i will check this today and will come back to you.

December 7, 2023 at 1:19 pm #15016995

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Ok, that's good to hear. Please keep me posted.

The topic ‘[Closed] Copying content only works for one language’ is closed to new replies.