Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client is trying to set up a custom role for site editors to manage translations without giving them super admin permissions. They have used the User Role Editor plugin to configure the role but are unable to see the edit button for translations in the backend or frontend, despite following the steps in the provided documentation and ensuring all checkboxes are enabled.
Solution:
We recommend updating WPML to the latest version, as this issue has been addressed in version 4.6.9. Before updating, ensure to create a complete backup of the site. For more details on the issue and the fix, please refer to the errata page:

If this solution does not seem relevant to your situation, please open a new support ticket in the WPML support forum.

100% of people find this useful.

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

Last updated by Mateus Getulio 8 months, 2 weeks ago.

Assisted by: Mateus Getulio.

Author Posts
November 21, 2023 at 12:58 pm #14886827

David

Tell us what you are trying to do?
I have a custom role that has been setup for site editors so they can use the site whilst not being super admins. I've installed user role editor plugin to be able to configure this role. I don't want to install toolset access to make this work, nor do I want to give out permissions specifically to each user as is documented. This needs to work at the role level. I've followed the steps here https://wpml.org/forums/topic/wmpl-capabilities-for-a-custom-role/ and this still is not working. All of the checkboxes are enabled and I still do not see the edit button either in the backend or front end when looking at a translated page like I see when I am a super admin.

Is there any documentation that you are following?
https://wpml.org/forums/topic/wmpl-capabilities-for-a-custom-role/

Is there a similar example that we can see?
https://wpml.org/forums/topic/wmpl-capabilities-for-a-custom-role/

What is the link to your site?
N/A

November 22, 2023 at 11:17 am #14896715

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

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

Hi there,

Thanks for your contact!

We had a recent report for this issue, and we've already found a workaround. I have explained it a bit more in this reply: https://wpml.org/forums/topic/you-dont-have-the-rights-to-translate-from-nl-to-es/#post-14738667

Could you please give it a try and tell us if it helps in your case?

Looking forward to your reply. Thank you.

Regards,
Mateus.

November 22, 2023 at 12:13 pm #14897385

David

I did this, seems to do the trick!

hidden link

November 22, 2023 at 7:29 pm #14902235

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

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

Hi there,

Thanks for sharing the workaround!

As mentioned in the ticket I linked previously, right now we're evaluating the possible implementation of this feature. Just as a formality, and in order to proceed with the feature request, may I kindly ask you to tell us a bit more about the exact reasons for a custom role in your case?

From WPML 4.6.7 the editor role now has the capability to edit all translation which was possible only with admin roles before this WPML version. So perhaps this could be a solution.

Please let me know about the first question, and if the 'Editor' role would be sufficient in this case.

Looking forward to your reply. Thank you.

November 22, 2023 at 7:33 pm #14902267

David

We sometimes have use cases and the need for custom roles outside those built into wordpress. So simply using administrator and/or editor is not enough. The roles may not be consistent between projects either, or it may be the case that we inherit a site that is already using either of those roles and we require the control on our end to still allow edits to translations. Therefore the flexibility to do this just like any other capability via user role editor or similar plugin would be something I'm sure the community could benefit from.

November 22, 2023 at 8:07 pm #14902479

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

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

Hi there,

Thank you for the clarifications.

I have escalated this ticket to our 2nd tier of support where our 2nd tier specialists will take a deeper look at this issue and will try to find a solution.

I will get back to you as soon as I get an answer from them.

Best regards,
Mateus.

November 24, 2023 at 8:31 pm #14920841

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

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

Hello and thank you for your patience.

The issue has been reported already and it is currently being worked on.

I will set the current ticket status to "Escalated to WPML developers team" and I will get back to you as soon as I get any feedback from them.

Kind regards,
Mateus

January 19, 2024 at 12:47 pm #15204969

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

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

Hello there,

For your information, this issue should be fixed in our latest version (4.6.9). Errata page: https://wpml.org/errata/wpml-custom-role-based-on-the-editor-role-cannot-edit-translations-and-behave-as-editor/

Just make sure to have a complete backup, and kindly update WPML. Thank you.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.