[Resolved] Can't translate generateblocks dynamic text
This thread is resolved. Here is a description of the problem and solution.
Problem:
Client was unable to find the "Last update" string in the string translation to translate it to Vietnamese. This string is from "dynamic text" from the generateblocks plugin.
Solution:
We provided an XML code to include the texts for translation. We instructed the client to navigate to WPML -> Settings -> Custom XML Configuration and add the following code:
After adding the code, the client should make a minor modification to the element containing the 'Last Update:' text, save it, and update its translation. The texts will then be available for translation and should be visible on the front end.
If you're experiencing this issue, we recommend you try the provided solution. However, this solution might be irrelevant if it's outdated or not applicable to your case. We highly recommend checking related 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 persists, please open a new support ticket with us.
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 )Portuguese (Brazil) (Português )
Timezone: America/Sao_Paulo (GMT-03:00)
Hello,
I suspect the issue could be related to compatibility between Generateblocks and WPML. To pinpoint the exact cause, we need to isolate variables by replicating the issue in a sandbox environment.
Here's what is needed to be done:
1- Install Essential Components Only: In the sandbox provided in my private reply above, please install your theme and only the plugins necessary to replicate the issue. Avoid importing the entire site.
2- Set Up the Page and Configurations: Mirror your current setup that's causing the issue, focusing on the dynamic text, we only need the site to be partially replicated up to a point where we can debug this issue.
3- Notify Us Once Done: After replicating the issue in the sandbox, inform us through this ticket so we can proceed with further analysis.
The goal here is to identify if the problem is indeed a compatibility issue, reproducing it in a controlled environment.
We appreciate your cooperation in this matter. Let us know once you've set up the sandbox.
Languages: English (English )Portuguese (Brazil) (Português )
Timezone: America/Sao_Paulo (GMT-03:00)
Hello there,
Thank you for your patience while we investigated this.
Upon further inspection, our compatibility team was able to make a XML code to include those texts for translation, I tested it on the sandbox and it worked fine.
Please go to WPML -> Settings -> Custom XML Configuration and add the following code:
Then make a minor modification to the element containing the 'Last Update:' text. Save and update its translation. The Texts will be available for translation now.
You should be able to see the translated texts on the front end now.
Thank you, please give it a try and let us know.
Mateus
Also, as the original issue is resolved may I kindly ask you please to open a new ticket for this question?
This will also help other users with similar problems find solutions when searching the forum as well as we avoid mixing lots of questions in one ticket.