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

Last updated by Subash Chandra Poudel 1 year, 5 months ago.

Assisted by: Subash Chandra Poudel.

Author Posts
August 11, 2023 at 2:42 pm #14189323

babakB

Tell us what you are trying to do?
I'm trying to translate the BuddyBoss theme with DeepL. When I click on "Send all items for translation" I get:

Sending your jobs to translation
Batch #1

Rollback jobs...

Batch rolled back

And nothing is translated. I checked that I have enough credits in my account.

Is there any documentation that you are following?
I searched the forum and there was a post with two links that were archived.

Is there a similar example that we can see?
Don't know what you mean.

What is the link to your site?
hidden link

August 15, 2023 at 10:41 am #14202439

Subash Chandra Poudel

Hi there,

Sorry for the delayed response due to the weekends and the high support queue.

1. First of all I see you are using an older version of WPML plugins. The latest WPML version is 4.6.5 please update all plugins including WPML plugins on the site first.

2. I see your site only has 40 MB of WP memory limit which is less than the WPML requirement and could cause issues.

Please add this near the end in your wp-config.php file (just before /* That's all, stop editing! Happy blogging. */
) as explained in the next link

Then, see if it makes any difference.
{code}
/** WP Memory Limit */
define('WP_MEMORY_LIMIT', '256M');
{/code}
https://wpml.org/faq/checklist-before-opening-a-ticket-in-wpml-support/#how-to-increase-your-sites-memory-limit

The wp-config.php file is located in your WordPress root directory. It’s the same file where the database configuration settings are. You will have to access it by FTP or SFTP in order to edit it.

3. Also, I see the PHP time-limit is set to 90 on your site, please talk with your hosting provider and see if this can be increased to 300 then see if it helps with the issue.

Looking forward to your updates.

Rgards,
Subash

August 15, 2023 at 2:10 pm #14203629

babakB

Hi and thanks for you answer!

1. I do use the latest version which is 4.65. already.
2. Memory changed do 1990 MB in wp.config and 2048MB in PHP options as that is what I have available from my host.
3. I've changed both max_execution_time and max_input_time to 300.

I get the same error.

This is the communication log entry: view_url":"hidden link","project_details_url":"hidden link{project_id}/documents","add_language_pair_url":"","custom_text_url":"","select_translator_iframe_url":"","translator_contact_iframe_url":"","quote_iframe_url":"","has_translator_selection":false,"project_name_length":128,"suid":"ffad5fa853bba0b6c9eda94b382b0201","doc_url":"https://wpml.org/translation-service/lilt/","notification":false,"tms":true,"has_language_pairs":false,"deadline":true,"oauth":false,"oauth_url":"","popup_message":"","how_to_get_credentials_desc":"","how_to_get_credentials_url":"","client_create_account_page_url":"","partner":false,"review_url":"","uses_ate":false,"self_registered":false,"custom_fields":[{"label":"API Key","name":"api_key","type":"text"}],"default_service":0,"translation_feedback":false,"feedback_forward_method":"manual","rankings":{"quality":0,"quality_ranking":0.0,"speed":0,"speed_ranking":0.0,"popularity":0,"popularity_ranking":0.0,"primary":0.0,"primary_ranking":0.0},"ratings":{"wpml_average_user_rating":0.0},"specializations":[],"countries":[],"certifications":[],"redirect_to_ts?":true},{"id":117,"name":"Smartcat","description":"Smartcat is an all-in-one platform connecting businesses and translators into a continuous translation delivery loop by combining a collaborative workflow solution, a marketplace, and a network of translation professionals.\r\n","url":"https://wpml.org/go/smartcat/","logo_url":"hidden link","logo_preview_url":"hidden link","project_details_url":"%{server_url}/projects/%{project_id}","add_language_pair_url":"","custom_text_url":"","select_translator_iframe_url":"","translator_contact_iframe_url":"","quote_iframe_url":"","has_translator_selection":false,"project_name_length":128,"suid":"d1c696251639dde597dd81b6fec113a9","doc_url":"https://wpml.org/translation-service/smartcat/","notification":false,"tms":true,"has_language_pairs":false,"deadline":true,"oauth":false,"oauth_url":"","popup_message":"","how_to_get_credentials_desc":"","how_to_get_credentials_url":"","client_create_account_page_url":"","partner":false,"review_url":"","uses_ate":false,"self_registered":false,"custom_fields":[{"label":"Server URL","name":"server_url","type":"text"},{"label":"API key","name":"api_key","type":"text"},{"label":"Account ID","name":"account_id","type":"text"}],"default_service":0,"translation_feedback":false,"feedback_forward_method":"api","rankings":{"quality":0,"quality_ranking":0.0,"speed":0,"speed_ranking":0.0,"popularity":0,"popularity_ranking":0.0,"primary":0.0,"primary_ranking":0.0},"ratings":{"wpml_average_user_rating":0.0},"specializations":[],"countries":[],"certifications":[],"redirect_to_ts?":true},{"id":121,"name":"Smartling","description":"Smartling is a translation management platform and language services provider to localize content across devices and platforms. Author of Enterprise Translation Cloud, a data-driven approach to localization that helps customers achieve higher quality translation at a lower total cost.","url":"https://wpml.org/go/smartling/","logo_url":"hidden link","logo_preview_url":"hidden link","project_details_url":"hidden link{account_id}/account-jobs/{project_id}:{job_id}","add_language_pair_url":"","custom_text_url":"","select_translator_iframe_url":"","translator_contact_iframe_url":"","quote_iframe_url":"","has_translator_selection":false,"project_name_length":128,"suid":"3f1d34db7a1c34e0840e81b4aceb97db","doc_url":"https://wpml.org/translation-service/smartling/","notification":true,"tms":true,"has_language_pairs":true,"deadline":false,"oauth":false,"oauth_url":"","popup_message":"","how_to_get_credentials_desc":"","how_to_get_credentials_url":"","client_create_account_page_url":"","partner":false,"review_url":"","uses_ate":false,"self_registered":false,"custom_fields":[{"label":"User Identifier","name":"user_identifier","type":"text"},{"label":"User Secret","name":"user_secret","type":"text"},{"label":"Account UID","name":"account_uid","type":"text"},{"label":"Project ID","name":"project_id","type":"text"}],"default_service":0,"translation_feedback":false,"feedback_forward_method":"manual","rankings":{"quality":0,"quality_ranking":0.0,"speed":0,"speed_ranking":0.0,"popularity":0,"popularity_ranking":0.0,"primary":0.0,"primary_ranking":0.0},"ratings":{"wpml_average_user_rating":0.0},"specializations":[],"countries":[],"certifications":[],"redirect_to_ts?":true},{"id":144,"name":"SDL Language Cloud TMS","description":"The SDL Language Cloud TMS connector for WPML provides a seamless link between WPML and SDL Language Cloud TMS, allowing fast and easy management of multilingual web content and translation projects from within WordPress.","url":"hidden link","logo_url":"hidden link","logo_preview_url":"hidden link","project_details_url":"hidden link","add_language_pair_url":"","custom_text_url":"","select_translator_iframe_url":"","translator_contact_iframe_url":"","quote_iframe_url":"","has_translator_selection":false,"project_name_length":128,"suid":"a87dad5a887e062d5a269574bd54fc3b","doc_url":"https://wpml.org/translation-service/sdl-language-cloud/","notification":false,"tms":true,"has_language_pairs":false,"deadline":true,"oauth":false,"oauth_url":"","popup_message":"","how_to_get_credentials_desc":"Your username and password are the same as the credentials you use to login to SDL Language Cloud","how_to_get_credentials_url":"https://wpml.org/translation-service/sdl-language-cloud/#connecting-to-language-cloud","client_create_account_page_url":"hidden link","partner":false,"review_url":"","uses_ate":false,"self_registered":false,"custom_fields":[{"label":"Username","name":"username","type":"text"},{"label":"Password","name":"password","type":"text"},{"label":"Client ID","name":"client_id","type":"text"},{"label":"Client Secret","name":"client_secret","type":"text"}],"default_service":0,"translation_feedback":true,"feedback_forward_method":"manual","rankings":{"quality":0,"quality_ranking":0.0,"speed":0,"speed_ranking":0.0,"popularity":0,"popularity_ranking":0.0,"primary":0.0,"primary_ranking":0.0},"ratings":{"wpml_average_user_rating":0.0},"specializations":[],"countries":[],"certifications":[],"redirect_to_ts?":true},{"id":148,"name":"Crowdin","description":"More than 1 000 000 people use Crowdin to translate, manage and organize localization projects. No matter if you manage projects for clients, you work for a Fortune 100 company, or you're self-employed, Crowdin has features and integrations that will suit your localization needs.","url":"hidden link","logo_url":"hidden link","logo_preview_url":"hidden link","project_details_url":"","add_language_pair_url":"","custom_text_url":"","select_translator_iframe_url":"","translator_contact_iframe_url":"","quote_iframe_url":"","has_translator_selection":false,"project_name_length":128,"suid":"699e6ed91a275d04372c7289922a5610","doc_url":"","notification":true,"tms":true,"has_language_pairs":true,"deadline":false,"oauth":false,"oauth_url":"","popup_message":"","how_to_get_credentials_desc":"","how_to_get_credentials_url":"","client_create_account_page_url":"","partner":true,"review_url":"","uses_ate":false,"self_registered":false,"custom_fields":[{"label":"API token","name":"api_token","type":"text"}],"default_service":0,"translation_feedback":true,"feedback_forward_method":"manual","rankings":{"quality":0,"quality_ranking":0.0,"speed":0,"speed_ranking":0.0,"popularity":0,"popularity_ranking":0.0,"primary":0.0,"primary_ranking":0.0},"ratings":{"wpml_average_user_rating":0.0},"specializations":[],"countries":[],"certifications":[],"redirect_to_ts?":false},{"id":149,"name":"Parlam","description":"The Parlam connector for WPML will link your WordPress platform with your Parlam TMS account. Once there, you can translate the content yourself assisted by the translation memory or assign it to the freelance translator or LSP of your choice.","url":"hidden link","logo_url":"hidden link","logo_preview_url":"hidden link","project_details_url":"","add_language_pair_url":"","custom_text_url":"","select_translator_iframe_url":"","translator_contact_iframe_url":"","quote_iframe_url":"","has_translator_selection":false,"project_name_length":128,"suid":"b5a3b7ee5fa28c5370ed81e9a5db619b","doc_url":"","notification":true,"tms":true,"has_language_pairs":true,"deadline":false,"oauth":false,"oauth_url":"","popup_message":"","how_to_get_credentials_desc":"","how_to_get_credentials_url":"","client_create_account_page_url":"","partner":true,"review_url":"","uses_ate":false,"self_registered":false,"custom_fields":[{"label":"API token","name":"api_token","type":"text"}],"default_service":0,"translation_feedback":true,"feedback_forward_method":"manual","rankings":{"quality":0,"quality_ranking":0.0,"speed":0,"speed_ranking":0.0,"popularity":0,"popularity_ranking":0.0,"primary":0.0,"primary_ranking":0.0},"ratings":{"wpml_average_user_rating":0.0},"specializations":[],"countries":[],"certifications":[],"redirect_to_ts?":false}]
}

Med vänliga hälsningar,

Babak Badri
Specialist i kirurgi

August 16, 2023 at 10:21 am #14208471

Subash Chandra Poudel

Hello,

I would need to take a closer look at your site. So would you please mind sharing temporary access (WP-Admin and FTP) to your site? Preferably to a test site where the problem has been replicated.

I have enabled a private reply for you to share the credentials securely, which means only you and I have access to it. Also please let me know the exact steps/process to see the issue at my end.

IMPORTANT: Please take a complete backup of the site first to avoid data loss.

✙ I would additionally need your permission to make a copy of the site with plugins like Duplicator and deploy it on my local machine to test the issue further.

Regards,
Subash

August 17, 2023 at 12:52 pm #14246005

babakB

Okay I think I've understood the problem. I want to translate a plugin. What I do to achieve this is:
1. Theme and plugins localization
2. I scan the plugin for strings.
3. I go to String translation and choose the plugin in the "In domain" drop down.
4. I choose all the strings I want to translate 40k+ and I click on Add selected strings to translation basket.
5. I go to Translation Management -> Translation Basket tab.
6. When I click Send all items for translation it seems the plugin sends it to a real person translator and that many strings gives me the error of returning basket.

I don't want a real translator to translate my strings. I want DeepL to do it. This I can achieve if I:

1. Goto Translation Management -> Dashbord
2. Choose a random strings here and choose Translate automatically and press Start translating. This works!

The problem is when I add the plugins' strings they end up in the Translation Basket and not in the Dashboard tab in Translation Management.

My question is: How do I automatically translate the plugin strings from the Translation Basket with DeepL? They don't end up in the Translation Management -> Dashboard.

With best regards,

bb

August 18, 2023 at 8:10 am #14250601

Subash Chandra Poudel

Thank you for the details and clarifying on the issue.

It is not possible to automatically translate Strings in bulk. However, it is possible to translate Strings individually automatically using a translation engine as a translation job as explained in the next link.

https://wpml.org/documentation/automatic-translation/automatically-translate-strings-with-wpml/

Please review the document and see if it helps.

Regards,
Subash

August 20, 2023 at 7:11 pm #14259205

babakB

How do people translate plugins in bulk? I have approximately 30 000 strings in the BuddyBoss plugin, BuddyBoss plugin pro and the BuddyBoss theme that I need to translate. Do you mean that I have to do this.... by hand one by one?

Is this even possible during a lifetime? There must be some kind of a better solution for this.

August 20, 2023 at 7:28 pm #14259267

babakB

I still get the same rollback problem even though I have the mode set to translate everything and I try to push this out to a user that is translator. Still, I want to know how I can translate my plugins in bulk.

wpml.png
August 21, 2023 at 3:29 pm #14265653

Subash Chandra Poudel

Hi there,

Yes, I am afraid currently the only way to automatically translate strings is to manually translate them and use Automatic Translation inside the translation editor as explained in the link I sent above. ( https://wpml.org/documentation/automatic-translation/automatically-translate-strings-with-wpml/ ).

One way to make the process faster could be to Export the strings in a po file from WPML -> String Translation from the "Import / export .po" section as explained in the next link:

https://wpml.org/documentation/getting-started-guide/string-translation/#import-export-po

Then use a third-party translation editor software like Po Editor, finish the translations then import the string again.

Regarding the "rollback problem" even when you try to send it to a translator, I would need to take a closer look at your site to troubleshoot the issue. So would you please mind sharing temporary access (WP-Admin and FTP) to your site? Preferably to a test site where the problem has been replicated.

I have enabled a private reply for you to share the credentials securely, which means only you and I have access to it. Also please let me know the exact steps/process to see the issue at my end.

IMPORTANT: Please take a complete backup of the site first to avoid data loss.

✙ I would additionally need your permission to make a copy of the site with plugins like Duplicator and deploy it on my local machine to test the issue further.

Regards,
Subash

August 26, 2023 at 3:12 am #14294053

Subash Chandra Poudel

Hi there,

Thank you for confirming that the original issue is resolved now.

Regarding the new issue with string translation, lease note we try to handle only one issue per ticket so as to keep better track of issues.

We have a known bug with String translation explained with a workaround in the next erratum:

https://wpml.org/errata/wordpress-6-3-performance-issues-with-string-translation-in-specific-scenarios/

Can you please try the workaround from the erratum and if it does not helps mark this ticket as resolved and open a new ticket for the new issue?

Regards,
Subash