[Resolved] auto translate everything / flag icon not appearing in menu
This thread is resolved. Here is a description of the problem and solution.
Problem: You are experiencing issues with the flag icon not appearing in the main menu after switching to 'auto translate everything' mode in WPML, despite not clicking the 'Sync Menu' button or manually creating translations. Additionally, you encountered a PHP Fatal error indicating an exhausted memory limit. Solution: First, increase the WordPress memory limit by adding the following lines to your wp-config.php file:
Add these lines above the '/* That's all, stop editing! Happy blogging. */' line. This adjustment should help resolve the memory issue and allow for smoother operation of WPML functionalities.
Next, ensure your site key is correctly registered to use automatic updates. If updates are not working, generate a new site key by deleting the current site URL from your WPML account at https://wpml.org/account/sites and re-adding it. This action will provide a new site key. Then, unregister and re-register WPML on your site with the new key by navigating to Plugins -> Add New -> Commercial tab and following the prompts to update or enter the new site key.
If these steps do not resolve your issue or if the solution seems outdated or irrelevant to your specific case, we 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. Should you need further assistance, please 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.
You need to register both your live site and your development site URLs and each site should have its own key. Register both domains here: https://wpml.org/account/sites/
Then, update them on their respective sites as needed at Plugins -> Add New -> Commercial. Once that is done you should be able to update the plugin as you normally would any plugin.
2 attachments show that both sites are registered and the key for each site is shown. I can't find the page that I'm supposed to paste the key into though, or do I need to still do that ??
so I have to download and activate a new copy of WPML CMS even though it's already installed and activated, and that's how it will be updated in this case. Just want to make sure I understand your instructions...
thanks
ALSO noticed the communication with WPML.org alert is still displaying but I don't know what to do about it. Will it be resolved after I download and activate the newer version of WPML CMS ??
thanks...
Go to Plugins -> Add New -> Commercial. Click the link to Unregister WPML. Once that is done you will see the field where you enter the correct site key. Once that is done, you should be able to update the plugin as you normally would, either from the commercial tab or from the Plugins dashboard. You won't need to manually download the plugin and install if you have the site keys registered correctly. This is also why the communication error is showing up.
ok did it... seems to be working.. updated CMS plugin, no crashes...
I know when the staging site is ready to migrate, I'll need to change its status from 'development' to 'production'
but BEFORE I migrate the staging site to replace the live site, will I have to do same process of unregister and register the live site with its key ???
Or will the migration replace all the the live site's WPML files with copies of the staging data so I'd then go through the unregister/register process AFTER the migration ??
It all depends on how the site is migrated. If the site key is copied from staging to live site in migration, then yes, you will need to update the live site key. You don't need to change the URL status in your WPML account. Just make sure when you registered the URLs that the live domain is set as production and the staging site is set as development.
ok got it... the client wants to review all the translated published content and make changes here and there before doing the migration. That could take a week or so.
After they've reviewed and made any needed changes using the WPML editor, and after they approve it, if they later need to make small updates to the original language page, is it the preferred WPML method to then edit the translated page/post directly using the WPML editor ?
I've read a couple other similar blogs about issues updating an already translated page/post so if there's specific help file available, let me know. I've looked through the FAQs and have not yet found a simple process.
You should be able to edit the translation any time you need using the WPML translation editor. Updating the original post should not delete translated content. If that is happening, then you can open up a new chat ticket so we can look further into the issue for you.
thanks... I noticed the little pencil icon that opens the WPML editor to review or update a translation. Is this to 'teach' the translation brain to remember when an auto translation is manually changed, so the auto translation will do it correctly for future translations ? Just curious...