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.
Tagged: Translation Service
This topic contains 15 replies, has 4 voices.
Last updated by Ahmed Ibrahim 3 months, 1 week ago.
Assisted by: Ahmed Ibrahim.
Author | Posts |
---|---|
August 16, 2024 at 3:50 pm #16078758 | |
simpleT |
Background of the issue: Symptoms: Questions: |
August 17, 2024 at 1:31 am #16079533 | |
Andreas W. Supporter Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
Hi, First, please take a backup of your website incl. database. It seems that the minimum requirements are not met on the server: Could you please increase the WordPress memory limit (WP Memory Limit) to at least 256 MB? WPML requires at least 128M. Your current values are: PHP MemoryLimit 512M WP Memory Limit 40M You need to connect to your website's server and open the wp-config.php file in a text editor. The file is located in the WordPress root directory. Add this code to the wp-config.php file to increase WordPress memory: define ('WP_MEMORY_LIMIT', '256M'); Add this just before this comment: // That's all, stop editing! Happy blogging. The current values can be viewed under WPML > Support > WordPress. These settings can be restricted directly by your hosting provider. Therefore, I recommend contacting them and asking them to change them directly if the changes are not applied immediately. After adjusting the WP MEMORY LIMIT please go to Plugins > Add new > Commercial and click "Check for WPML Updates". Now, please install and active the latestest version of all active plugins. Finally, please try to sync the status for the translation service on WPML > Translation Management > Dashboard. --- It this will not solve the issue, please run another test by disabling the plugin "Headers Security Advanced & HSTS WP" as it could be that one of the applied rules is causing the issue. We will be awaiting your results. Best regards |
August 19, 2024 at 10:03 am #16082819 | |
simpleT |
Updated memory limit Synced translation management. None of these worked. I am still getting the job set as "successful" and then it doesn't appear in smartling and after some time it gets removed as a job from WPML hidden link Also. It worked before for all other translations, this one specifically is causing problems, not sure how the memory limit and those plugins would create a conflict just for this 1 post. |
August 20, 2024 at 3:56 pm #16087741 | |
Andreas W. Supporter Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
It might be an issue with the specific content. Please use a plugin like "Duplicate page" create a duplicate of this page and run a test by translating it with the WPML Translation Editor. Do you see any issue with completing this translations? |
August 20, 2024 at 9:07 pm #16088328 | |
simpleT |
I also tried that. And it doesn't work. Same issue. Anything else that we can do to help? |
August 20, 2024 at 10:44 pm #16088449 | |
Andreas W. Supporter Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
This is good news, because this narrows down the issue, which means that this is not an issue with the translation service, but an issue with translating the content. I would like to offer to have a closer look at the problem and request temporary access (wp-admin and FTP) to the website to investigate this issue further. You can find the required fields below the comment section when you log in to leave the next reply. The information you provide is private, which means only you and I can see and access it. IMPORTANT The private response form looks like this: Next time you reply, click "I still need assistance." Video: Please note that we are obliged to request this information individually on each ticket. We may not access any access information not specifically submitted on this ticket in the private response form. |
August 20, 2024 at 11:26 pm #16088461 | |
Andreas W. Supporter Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
Once I open the translation editor on this post I see that the translation is not completes (Status 0%). See screenshot. Do I understand you correct, that you tried to complete the translation to 100% and it did not get saved. Then when opening the translation editor, all changes were gone? |
August 20, 2024 at 11:55 pm #16088481 | |
simpleT |
i tried everything. Nothing works. The final result needs to be that we send it over to smartling. This part is key. And I also need to know why it doesn't work for this one, so we can prevent this in the future. |
August 21, 2024 at 12:31 am #16088493 | |
Andreas W. Supporter Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
I am really not sure why it did not work out for you, but I had no issue with marking the fileds as completed and completing the translation to 100%. hidden link (I did not translate the whole content) For the issue with Smartling, please contact their Support Team and ask if they see any issue relative to your account. Also, please veify that you are using the correct API key. If further help is needed, please let us know. |
August 21, 2024 at 8:40 am #16089233 | |
simpleT |
Hey. There are still a lot of problems with this translation. 1. I can't edit it or access it. If I try to edit it it says "You can't edit this translation, because this translation to Portuguese, Brazil is already in progress." I can't click on it, I don't have an edit page. 2. The problem is sending it to smartling. Everything i tried before was to send it to smartling, not duplicating it or creating fields. All the tests I've done in WP was to check if anything was a problem so I can send it to Smartling. After I send it it appears as a job here hidden link but then dissapears after 1 minute. Why would it be a smartling problem if every single piece of content on the site was able to be send to them? Why would the API key be at fault? Don't we have any logs we can access to say what error is getting caused? The translation appears in WPML in jobs and then dissapears, this seems like a bug and unintended behaviour. |
August 21, 2024 at 2:47 pm #16091045 | |
Andreas W. Supporter Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
I had no issue translating the page with the WPML Translation Editor. For example, right now, if I go to Chapters > All Chapters, and click the icon next to the the page title "Connect where and when it matters" I can open the WPML Translation Editor. See screenshot. You will need to be connected to an Admin account to be able to open the translation in this way. If the job can not be send to Smartling, then there might be a communication issue between your site and Smartling. Please consult them about if they see any errors or issues with your account on their side. I am further looping in our Translation Service Team to have a look into this issue. |
August 21, 2024 at 4:17 pm #16091537 | |
Ahmed Mamdouh Supporter Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+02:00) |
Hello, This is Ahmed Mamdouh from the translation proxy team and I'll help you with this ticket. First, I want to apologize for the issue you are facing and the frustration you are experiencing here. Regarding sending the "Connect where and when it matters" to Smartling, I checked and I can confirm that there is an issue with creating the XLIFF file to be sent to Smartling, I escalated the ticket to our development team and they are working on it and I'll get back to you ASAP. Regarding the other "In progress" Jobs, I tried to download the jobs and I managed to download only one of them as shown in the attached screenshot, but I couldn't download the other jobs as they are still not completed from the Smartling side, So you need to contact Smartling support and check with them why we still see the jobs as not translated. Please note that You can't cancel the job from WPML after it has been sent to Smartling, as a workaround, you can send the same job to a local translator and the new job will overwrite the old job, and then you can cancel it from the jobs tab (Please let me know if you need more explanation about this workaround). Thanks for your patience and understanding, |
August 21, 2024 at 5:13 pm #16091709 | |
simpleT |
Thank you Ahmed and Andreas. The other jobs from Smartling haven't been completed yet, in general there were no problems with recieving strings from them after they are done translating. Just this one file is creating us a lot of problems and it would be great to solve it since we're soon going to be translating a massive website that has multiple languages. This way if we have the same problem in the future we can understand what's going on. |
August 22, 2024 at 7:43 pm #16096623 | |
Ahmed Ibrahim Supporter
Languages: English (English ) Arabic (العربية ) Timezone: Africa/Cairo (GMT+02:00) |
Hi, This is Ahmed Ibrahim from the WPML integration team. I will help you with the issue. I have checked the XLIFF file extracted from your hidden link">post and found it is invalid because of this line <span class="d-none d-md-inline">"</span>Be where your customers are<span class="d-none d-md-inline">," they say. But where the heck are they?</span> I think if you removed the span that surrounds the quotes and sent the content again the issue will be resolved as it is confusing the segmenter. Please change this line to be: "Be where your customers are" <span class="d-none d-md-inline">, they say. But where the heck are they?</span> Like this, the quotes are handled in a better way. Please send the content again and let me know how it goes. Best regards, |
August 23, 2024 at 9:34 am #16097970 | |
simpleT |
Hi. I have tried to remove that string and send it to smartling but I still can't see it in smartling. I've removed the translation + the strings you mentioned and a few more strings and still it doesn't show up. Any other things we could try? |