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: Bug
This topic contains 6 replies, has 2 voices.
Last updated by Mateus Getulio 1 year, 4 months ago.
Assisted by: Mateus Getulio.
Author | Posts |
---|---|
July 12, 2023 at 10:41 am #14022603 | |
christopheG-16 |
Tell us what you are trying to do? Is there any documentation that you are following? Is there a similar example that we can see? What is the link to your site? hidden link |
July 12, 2023 at 8:14 pm #14028067 | |
Mateus Getulio Supporter
Languages: English (English ) Portuguese (Brazil) (Português ) Timezone: America/Sao_Paulo (GMT-03:00) |
Hello, Does that happen to other pages as well? Also, what's the translator user that is having that access message error shown to him? I would like to request temporary access (wp-admin and FTP) to your site to take better look at the issue. 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. Our Debugging Procedures I will be checking various settings in the backend to see if the issue can be resolved. Although I won't be making changes that affect the live site, it is still good practice to backup the site before providing us access. In the event that we do need to debug the site further, I will duplicate the site and work in a separate, local development environment to avoid affecting the live site. Privacy and Security Policy We have strict policies regarding privacy and access to your information. Please see: **IMPORTANT** - Please make a backup of site files and database before providing us access. Please, let me know if you need any additional details. Have a nice day. |
July 13, 2023 at 8:26 pm #14035975 | |
Mateus Getulio Supporter
Languages: English (English ) Portuguese (Brazil) (Português ) Timezone: America/Sao_Paulo (GMT-03:00) |
Hey there, It looks like there was some issue with the translation package. I went to WPML -> Packages, located the package of ID 484(same ID as the page 'Biographie') and deleted it. After that, I edited that page and added an empty space to it. I saved the page and now when I try to translate it again I see a few more fields. Can you please test it again to see if all texts that should be there are available for translation now? With regard to the permission issue, when a translation has been already completed, by default, WPML won't allow a user with the role 'Editor' to edit the translation. It's like that by design. To change that and allow all editors on the site to edit any translation, please add the following code to your child theme functions.php file: add_filter('wpml_user_can_translate', function ($user_can_translate, $user){ if (in_array('editor', (array) $user->roles, true) && current_user_can('translate')) { return true; } return $user_can_translate; }, 10, 2); Please let me know if it helps. Thank you, Mateus |
July 14, 2023 at 11:00 am #14039365 | |
christopheG-16 |
I have already added this code, it's my last ticket with WPML |
July 14, 2023 at 9:19 pm #14041487 | |
Mateus Getulio Supporter
Languages: English (English ) Portuguese (Brazil) (Português ) Timezone: America/Sao_Paulo (GMT-03:00) |
Hey there, I have temporarily created a user with the role 'Editor' and tested the translation of the page 'Biographie' and a few others and I have not been able to reproduce this error. I went ahead and removed my test user from the site after that. Can you please test if this issue still happens? If so, it's possibly that it only happens with the user you mentioned in your private reply. In that case may I ask you permission to change its password temporarily so I can debug this directly with this user? Alternatively, if you prefer, please share the credentials of that user in the ticket. I'm making your next reply private for you to do that if you want. Thank you, please let me know. |
July 15, 2023 at 2:25 pm #14042685 | |
christopheG-16 |
The problem is solved but I don't know how to reproduce it. |
July 17, 2023 at 3:03 pm #14051033 | |
Mateus Getulio Supporter
Languages: English (English ) Portuguese (Brazil) (Português ) Timezone: America/Sao_Paulo (GMT-03:00) |
Hey there, I'm glad to know that the issues are fixed. The package ID follows the ID of the post it belongs. You can check it by going to the post/product listing and hoovering the edit button or clicking it. The ID of that post will be placed in the end URL. To remove it I went to WPML -> Packages, located and selected it on the list and click on delete. Then it got recreated automatically with no impact to your translation. I hope we are good to close here. Feel free to contact us any time if you need assistance with our products. Kind regards, Mateus |