Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client set up Generate Press Blocks with an ACF field group for translating 'choice' fields using WPML, but while the 'label' translations were working, the 'choice' translations were not appearing correctly.
Solution:
1. Ensure that Generate Press Blocks has the dynamic option available for all blocks, which might not require GP Pro anymore.
2. Verify that the Element uses the 'Query Loop' Block, as the dynamic database symbol and correct meta values appear only when used within this block.
3. In WPML > Settings > Custom Field Translation, click on Show system fields and set all fields with the prefix '_generate' to 'Copy'.
4. Edit the original Element and translate it again, following the same steps for your posts.

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 the problem persists, we recommend opening a new support ticket here.

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 4 replies, has 0 voices.

Last updated by Andreas W. 1 week, 4 days ago.

Assisted by: Andreas W..

Author Posts
February 11, 2025 at 5:12 pm #16693054

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Vielen Dank für die Details!

Ich werde es testen und versuchen eine Lösung zu finden. Ich bitte Dich dazu aktuell um etwas Geduld.

February 11, 2025 at 5:24 pm #16693165

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

I do sadly not see the Option 2) method on my test site.

Can you please have a look into this and provide me with guidance?

Using the block settings from the sidebar works as expected on my test.

February 11, 2025 at 5:29 pm #16693169

volkerN-4

That's precisely my current issue. The database icon has disappeared, and I do not know why or why it was there before...
Maybe a function that was only in for a short period. I'll check.

February 11, 2025 at 6:27 pm #16693267

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Yes, please have another look into this, as I do not find any option that would enable such a kind of block setting in such an area on the test site.

Anyhow, if there could be such an additional setting section it should be identical and synced to what we see in the right sidebar.

The ticket will remain open.

Does it actually work on your site when using the block settings in the sidebar?

February 11, 2025 at 10:06 pm #16693749

volkerN-4

I set up the test site as follows to activate option 2; now you're able to see the special Dynamic Data option like in my last screenshot, "Generate Blocks Headline Metadata.jpg".

Next Steps:
1. Install Generate Press Pro with Licence Key
2. Activate "Elements" in "Appearance - Generate Press"
3. Create Element, Type "Block" (DynData Test)
4. Add GB Headline (now database symbol appears, GP Pro is mandatory) with option 2
5. Add a second GB Headline with option 1
6. In the right-sided panel, set Element Type from Hook to "Page Hero"
7. Enjoy the results (top of the page, in English "Banken & Banken", in German "Banken & Banks)

"Elements" is a function of Generate Press Pro, and this special Dynamic Data Option is available in Elements only.

Conclusion:
- My issue is solved. Changing from option 2 to option 1 solves my issue.
- The issue is caused somewhere between GP pro and Generate Blocks (pro)
- I will raise an issue at GP/GB for general purposes
- Suspicion: Before GB Version 1.5 there was no Dynamic Data at the right-sided Panel (option 1), it was only option 2 and only available in GP Pro elements. (see Youtube hidden link, 1st 5 min)

I'm done for now. Thank you very much for your brave and persistent support, Andreas.
If you have any further questions, I'm open to them.

February 12, 2025 at 8:48 am #16694664

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hi,

It sounds as if Generate Press Blocks has made this dynamic option now available for all blocks and without GP Pro. This is why you have the option now available on each block.

The dynamic database symbol will only appear on the Elements. These Elements seem to have a global display condition.

I translated the Element and I can confirm that the translated meta value does not show up on the translated posts.

The issue seems to be, that your Element is not using the "Query Loop" Block and this is why the correct meta value is not showing up. If I place the heading with dynamic value to the "Query Loop" block, it works.

Best regards
Andreas

February 12, 2025 at 9:00 am #16694771

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

I need to add here, that it actually works this way on my local copy of the site, but it seems not to work on the sandbox. I am not sure why is that.

According to the video from Generate Press, it seems that they recommend using the Element inside a Query Loop and this solves the issue on my local test.

I also forgot to add, that you need to make sure to go to WPML > Settings > Custom Field Translation, click "Show system fields" and set all fields with the prefix "_generate" to "Copy".

After that edit the original Element, and translate it again.

Do the same with your posts.

local test.jpg