Background of the issue:
I am trying to set up WPML on my site hidden link. I have used the installer, and it seems like everything necessary is there. The WPML setup page on my WordPress says that I am finished and it is set up.
Symptoms:
I do not have the option to manage translation, and the side menu looks different than the screenshots I've seen in documentation. At the bottom, it says: 'Next, you need to set-up your multilingual store.' but that link does not work. When I go to WooCommerce Multilingual, there are no options on the page, and there is a notification that says: 'The Translation Controls Have Moved. We updated WooCommerce Multilingual to streamline your translation work. Translate your whole site's content, including products, from WPML → Translation Management.' with a link that tells me I can't access that page when I click it.
Questions:
Why do I not have the option to manage translation?
Why does the side menu look different than the documentation screenshots?
Why does the link to set up my multilingual store not work?
Why are there no options on the WooCommerce Multilingual page?
Why can't I access the Translation Management page?
Thank you for contacting WPML Support. Could you please follow the below steps and see if this resolves the issue:
1. Take a backup of your site first for safety reasons.
2. Add the below code in functions.php file:
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 frontend once so that it will trigger this code.
4. Reload the backend and try to access the WPML >> Translation Management page and see if the issue is solved.
5. Now, you can remove the code which is added in step #2.
Please let me know the results,
Thank you for your cooperation
Sorry for the delay, I was off during the weekend (Friday-Saturday). Thanks for trying the above steps. It seems something went wrong during the WPML installation. If it’s a new site with no translated content, you can reset WPML and set it up again.
To do so:
=== Please backup your database and website ===
- Please go to WPML >> Support >> Troubleshooting (the link is at the bottom of the support page). >> There, click on “Reset and deactivate WPML” >> then Delete the plugin.
- After deleting all WPML data and WPML-related plugins then please install WPML plugins again and I hope now you will not face any issues.