[Resolved] I've used the automatic translator but my page is broken
This thread is resolved. Here is a description of the problem and solution.
Problem: The client was experiencing issues where the page broke after using WPML's automatic translation feature. This problem was often due to differences in page or theme settings between the original and translated versions, or sometimes due to resource limitations. Solution: 1. Check Page-Specific Settings: Ensure that layout, sidebar, or theme-related settings are consistent between the original and translated pages. 2. Increase WordPress Memory Limit: Modify the
wp-config.php
file to increase the memory limit to at least 256M. 3. Increase MaxInputVars: Contact the hosting provider to increase
max_input_vars
to 10000 for handling complex pages. 4. Adjust Internal Links: Use WPML’s tool to update internal links. 5. Check Custom Fields for Bricks Content: Ensure WPML is set to translate custom fields used by page builders like Bricks. 6. Perform a Conflict Test: Disable all plugins except WPML and the page builder, and switch to a default theme to check if the issue persists. If these steps do not resolve the issue, it might be due to outdated solutions or specific circumstances not covered here. 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. If the problem continues, 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.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Hello,
According to the provided debug information, the PHP MEMORY LIMIT on the server is set to only 128MB, which might not be enough to run a site with such a large number of plugins, including WPML.
Please contact your hosting support and ask them if they could change the PHP MEMORY LIMIT on your server to at least 256M.
If you could get even a higher value, it would be great.
You can view details about the current PHP MEMORY LIMIT and current memory usage at WPML > Support > PHP.
Once the limit has been adjusted, please verify if the issue persists by sending the content again to automatic translation. Avoid choosing the option to overwrite existing translations to not get charged again for credits.
If the translations are currently marked as completed, simply make a small edit on the original content, then save the page or post. This will update the translation status, and the content will be able to be translated automatically.
No puedo mostrate el problema donde la pagina no esta traducida porque es un sitio en produccion y he forzado a que funcione, pero si que ya tienes acceso a ver la diferencia del "memory limit" segun WPML o segun mi wordpress (y mi servidor).
Dime si necesitas algo mas para corroborar este problems. Gracias
Me refiero a una URL en el frontend donde pueda verse que la traducción no se muestra correctamente, para corroborar que el problema persiste.
¿Por otra parte, puedes crear un sitio staging con una copia del sitio en producción y compartir las credenciales en tu próximo mensaje? Esto sería lo ideal para no afectar al sitio en producción y poder realizar las pruebas necesarias. Para crear el sitio staging puedes utilizar el plugin WP Staging, que es gratuito.
He establecido tu próximo mensaje como privado para que puedas compartir las credenciales de acceso al sitio en producción de forma segura.
Hola,
Muchas gracias por compartir las credenciales.
1.- Entiendo que has forzado a que se muestre el contenido correctamente, pero para poder aislar la causa del problema y buscar una solución necesito poder reproducirlo en el sitio. Aunque, si actualizando la traducción se resolvió el problema entonces es posible que ya no haya much oque hacer 🙂
2.- En el sitio staging la memoria de WordPress es de 512M, lo cual es correcto y puedes verlo en esta URL: hidden link -> WordPress -> WP_MEMORY_LIMIT