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

Last updated by julienB-51 2 months, 3 weeks ago.

Assisted by: Waqas Bin Hasan.

Author Posts
February 3, 2025 at 9:31 pm #16664509

julienB-51

Background of the issue:
I am trying to manage translations on my site hidden link. I want to create an editor account to manage translations. I added it in WPML -> Settings - Translators -> Translation managers, but it does not seem to work. I also added this snippet but still not working: 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); I also want to translate the page hidden link to hidden link and the page hidden link to hidden link. The pages are built with Jetengine, Elementor archive, and The Events Calendar.

Symptoms:
The editor account for managing translations is not working. The page slugs are not translating as expected.

Questions:
How can I enable an editor account to manage translations in WPML?
How can I translate specific page slugs built with Jetengine, Elementor archive, and The Events Calendar?

February 4, 2025 at 9:01 am #16665391

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting the support.

Please note that as per our forum policy we can handle one issue per ticket, so in this ticket I'll be handling the problem about the Editor.

Can you please confirm if the user added as an editor, has the "editor" role? Please note that the translations that are already completed can only be edited by Admins and original translators.

However, can you also try adding a new user with "editor" role, than add it as a Translator (not the manager) and check with it?

For the other issue about translating slugs, please check https://wpml.org/documentation/getting-started-guide/translating-page-slugs/ for details. If you need more help about it, I recommend creating a separate ticket so you can get more to the point help.

Regards.

February 5, 2025 at 8:45 pm #16672958

julienB-51

Thank you for your answer.

I created a new account in Editor and added it as a simple Translator. When I log into this account and go to edit the translation of an article for example, I do have the flag and the pencil but when I click on the pencil I get a page "You do not have the right to access this content" (as on the previous screenshot).

Could it be link to the fact that the automatic translation is activated ?

Thank you

February 6, 2025 at 7:23 am #16673729

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for the updates.

I need to take a closer look at your site. So I request temporary access (WP-Admin and FTP), preferably to a test site where the problem has been replicated.

Your next answer will be private, to share this information safely.

Also provide detailed steps to reproduce the issue and links to pages in the admin and on the frontend.

IMPORTANT: Please take a complete backup of the site to avoid data loss. I may need to activate/deactivate plugins also.

See https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/ for details on privacy and security.

P.S.: If you don't see the section for providing access information, do not write in the message box or the information may appear as public.

February 8, 2025 at 10:09 pm #16683274

julienB-51

Hi,

I finally found a workaround.

Thanks very much for your help!