Skip Navigation

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

Problem:
You have a custom role setup and need to allow this role to edit translations for their own content in WPML.
Solution:
We recommend adjusting the capabilities for your custom role to include permissions to translate and manage translations. Specifically, you should set this role as a translator. For detailed guidance on how to adjust these capabilities, please refer to the following documentation:

If this solution does not fully address your issue or seems outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If further assistance is needed, please do not hesitate to open a new support ticket at WPML Support Forum.

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 5 replies, has 1 voice.

Last updated by Otto 1 week, 4 days ago.

Assisted by: Otto.

Author Posts
March 25, 2025 at 3:20 pm #16858718

patrickV-3

Background of the issue:
We have a custom role setup and we would like them to be able to edit the translations for their own content. We have some custom code setup to automatically create the French translation after the content has been published.

Symptoms:
I need to allow a custom role to edit translations.

Questions:
How can I allow a custom role to edit translations in WPML?

March 26, 2025 at 8:45 am #16861076

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

Thanks for contacting us.

While you wait for my colleague to take over the ticket, let me try to help you with the issue quickly.

You would need to adjust capabilities for this role and allow it to translate / manage_translations and set it as translator.

Please check next docs:

- https://wpml.org/documentation/support/wpml-admin-capabilities/
- hidden link

Let us know if any other further questions.

Regards,
Drazen

March 26, 2025 at 9:05 pm #16865647

patrickV-3

I took a look at the docs and it didn't really help. Is there a way to just give the role the ability to edit translations and nothing else? The role doesn't need access to anything else but that.

March 27, 2025 at 2:19 pm #16868924

Otto
Supporter

Languages: English (English ) Spanish (Español )

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

To ensure the quickest and most accurate support, please provide your debug information so I can look at some of your configurations. We have an excellent article on how to locate it here: https://wpml.org/faq/provide-debug-information-faster-support/.

WPML does not have an option to do just that. To enable users with a custom role to edit translations of their content in WPML you can try this:

1. Assign the Necessary Capabilities to the Custom Role:
• Use a role management plugin like User Role Editor to add the required WPML capabilities to your custom role. 
• Specifically, add the wpml_manage_translation_management capability to allow users to manage and edit translations.  
2. Ensure Users Are Assigned as Translators:
• Navigate to WPML → Translation Management in your WordPress dashboard. 
• Go to the Translators tab.
• Add the users with the custom role as translators and define their language pairs.
3. Verify User Access:
• Log in with a user account that has the custom role. 
• Ensure the user can access the WPML → Translations section and edit translations for their content.

Best Regards,
Otto

March 27, 2025 at 3:25 pm #16869376

patrickV-3

So basically the only option is to give the role the wpml_manage_translation_management capability and manually add the user as a translator?

March 27, 2025 at 4:36 pm #16869722

Otto
Supporter

Languages: English (English ) Spanish (Español )

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hi,

Yes, adding the user as a translator will only allow him to translate the jobs that a translation manager assigns to him. Adding translation manager capabilities will allow him to assign translation jobs to himself.

Best Regards,
Otto