Skip Navigation

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

Problem:
You want to add more pages for translation but cannot assign yourself as a translator even though you are an Admin user. Your account does not appear in the translator selection list.
Solution:
If you're experiencing this issue, we recommend you try the following steps:
1. Edit your

functions.php

file.
2. Add the following code:

function add_wpml_manage_translations_cap() {
    $role = get_role('administrator');
    if ($role) {
        $role->add_cap('manage_translations');
    }
}
add_action('init', 'add_wpml_manage_translations_cap');

3. Visit the site's front end to trigger the code.
4. Remove the code after the function is triggered.
5. Check the Translation Management page to see if your account now appears as an option.

This solution might be irrelevant if it's outdated or not applicable to your case. 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 the issue persists, please open a new support ticket.

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: 

This topic contains 4 replies, has 0 voices.

Last updated by jackE-2 4 weeks ago.

Assisted by: Osama Mersal.

Author Posts
March 12, 2025 at 1:33 pm #16807435

jackE-2

Background of the issue:
I want to add more pages for translation, but it won't let me until I assign a translator. However, my account does not appear as an option to select as a translator, even though I am an Admin user.

Symptoms:
I cannot add myself as a translator because my account does not show up in the selection list.

Questions:
Why can't I add myself as a translator?
How can I make my account appear in the translator selection list?

March 12, 2025 at 3:59 pm #16808230

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for contacting WPML forums support. I'll be glad to help you today.

Please check if your account is added as a translation manager.

Also, please create a new admin account and check if you can correctly add it as a translator.

Best regards,
Osama

March 13, 2025 at 10:37 am #16811237

jackE-2

These are the capabilities:

wpml_manage_translation_management, wpml_manage_languages, wpml_manage_theme_and_plugin_localization, wpml_manage_support, wpml_manage_woocommerce_multilingual, wpml_operate_woocommerce_multilingual, wpml_manage_media_translation, wpml_manage_navigation, wpml_manage_sticky_links, wpml_manage_string_translation, wpml_manage_translation_analytics, wpml_manage_wp_menus_sync, wpml_manage_taxonomy_translation, wpml_manage_troubleshooting, wpml_manage_translation_options, translate, wpie_new_export, wpie_manage_export, wpie_new_import, wpie_manage_import, wpie_settings, wpie_extensions, wpie_add_shortcode

And yes I created a new admin account and I can set that account as a translator but not my original account.

The reason I need the original is because I have translated xliff files ready to import from the original account

March 14, 2025 at 10:42 pm #16818784

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for your update. Please reset your account capabilities and check the issue.

In order to reset the capabilities, you can use a plugin like "User Role Editor".

Best regards,
Osama

March 15, 2025 at 3:46 pm #16820179

jackE-2

Hi,

After doing this, the "Translation Manager" tab in the sidebar doesn't show anymore

March 16, 2025 at 1:31 am #16820889

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Please try to set your account as a translator using another Admin account.

If that didn't help, I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP)
Preferably to a test site where the problem has been replicated.

Your answer will be private, meaning only you and I can access it.

❌ Please back up your database and website ❌

✙ I need your permission to deactivate and reactivate the plugins and themes and change site configurations. This is also why the backup is critical.

✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.

Best regards,
Osama

March 16, 2025 at 4:27 pm #16821973

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi Jack,

Thanks for the access details. I installed a local copy of your site and tried some workarounds with no luck. However, I found that the issue doesn't happen when downgrading WPML to V4.6.15.

I consulted our second-tier support team, and I'll update you as soon as they reply.

Best regards,
Osama

March 17, 2025 at 8:10 am #16823296

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for your patience. Please check the following steps:

1- Edit your functions.php file
2- Add the following code

function add_wpml_manage_translations_cap() {
    $role = get_role('administrator');
    if ($role) {
        $role->add_cap('manage_translations');
    }
}
add_action('init', 'add_wpml_manage_translations_cap');

3- Visit the site's front end to trigger the code
4- Delete the code
5- Check the hidden link">Translation Management

I applied the above steps to the staging site, which fixed the issue for the provided account.

Best regards,
Osama

March 17, 2025 at 8:20 am #16823355

jackE-2

Thank you, this seems to have worked and now lets all admins be assigned as translation managers.