This thread is resolved. Here is a description of the problem and solution.
Problem:
The client was experiencing issues with WPML on their website using Bricks Builder. Specifically, translated ALT text attributes were not displaying correctly, showing the original Polish ALT text instead of the translated versions. Additionally, there were problems with the Bricks Builder translation workflow on the homepage, requiring multiple resends for translation before the layout displayed correctly.
Solution:
For the translated ALT text issue, we recommended the following steps:
1. Check the WordPress memory limit in WPML → Support and increase it if necessary by adding
define('WP_MEMORY_LIMIT', '256M'); in the wp-config.php file.
2. Ensure that the WPML Media Translation add-on is active and that the ALT texts for images are translated in WPML → Media Translation.
3. Re-translate specific ALT text strings by deleting the existing translations in WPML → String Translation, re-registering the string by visiting the page, and then re-translating the string.
For the Bricks Builder translation workflow issue:
1. Confirm that both Bricks Builder and all WPML plugins are updated to the latest versions.
2. Use specific WPML Troubleshooting tools in WPML → Support → Troubleshooting to synchronize content and language information.
3. After troubleshooting, re-save and resend the homepage for translation in Bricks Builder to check if the layout displays correctly.
Workaround:
Open the ...\wp-content\themes\bricks\includes\elements\image.php file
Line 751
Replace:
$image_id = isset( $image['id'] ) ? $image['id'] : '';
With:
$image_id = isset( $image['id'] ) ? apply_filters( 'wpml_object_id', $image['id'], 'attachment', TRUE ) : '';
If these steps do not resolve the issues or if the solution becomes outdated, 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 problems persist, 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.
This topic contains 17 replies, has 3 voices.
Last updated by 4 months, 3 weeks ago.
Assisted by: Kor.