Problem: You are trying to update plugins on your site but encounter an error stating 'Update failed: undefined' along with a message indicating that the WPML plugin cannot connect to wpml.org. This issue typically arises when the site URL and the registered site URL do not match, possibly due to differences in 'www' usage. Solution: To resolve this, follow these steps: 1. Log in to your WPML.org account and navigate to the Sites page. 2. Delete the existing site key. 3. Log in to your site's dashboard, go to Plugins > Add New > Commercial tab, and click Unregister WPML from this site if available. 4. Click Register WPML. 5. Click Get a key for this site, then copy and paste the generated key into the input box and press the Register button. 6. Take a backup of your site and update the WPML plugins to the latest version. If the issue persists, go to WP Dashboard Menu > Updates and press the "Check again" link.
If this solution does not apply to your case, or if it seems outdated, we recommend checking the related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. Should the problem continue, please open a new support ticket.
Problem: You are using WordPress with Elementor Pro and have encountered issues with HTML widgets where links do not automatically adapt to the current language. Additionally, these links sometimes revert to the default language or get incorrectly translated after updates via the WPML Translation Manager. Solution: 1.WPML can recognize internal links in HTML, such as those used in a Gutenberg HTML Block or an Elementor HTML Widget. For example:
Here is my <a href="http://wpml.local/test-foo/" target="_blank">link</a>
2. In the WPML Translation Editor, this link field is locked by default to ensure automatic adjustment if the linked content is translated. If you unlock the link field, you must manually adjust the links. 3. If the translation was created before the linked content was translated, use WPML > Settings > Translate Link Targets to scan and adjust internal links. 4. Ensure separation of concerns by loading CSS and JS over the theme rather than through content.
If this solution does not resolve your issue or seems outdated, please check the related known issues, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. If problems persist, we recommend opening a new support ticket at WPML support forum.