Background of the issue:
I have a site in 3 languages, and I use Elementor with Gridbuilder and OCF. I am trying to translate select options in ACF, but the translation does not work in Gridbuilder's cards. See: hidden link and hidden link. 'Asking price' is a select option and is not included. If I only use it with Elementor, the label is translated. See the price here: hidden link. The second problem is also with the select option in OCF. If you scroll down a bit, you will see Basic data: hidden link. All fields are translated, except the fields that use the select option in OCF, such as Sales status, VAT situation, Condition, and so on. This is made with PHP code you can see this in appendix.
Symptoms:
The select options from OCF are not translated in Gridbuilder's cards. Only the fields that use the select option in OCF are not translated.
Questions:
Why are the select options in OCF not being translated in Gridbuilder's cards?
Why are the fields that use the select option in OCF not translated, while other fields are?
in order for our team to check further, we would need to try and reproduce it on new test site, to confirm this is not something specific to your website.
I created a minimal installation of WordPress, WPML, and all necessary WPML add-ons.
You can access the WordPress dashboard using the link below:
- hidden link
Kindly follow the steps below:
- Set up WPML
- Install only necessary plugins.
- Try to replicate the issue with 1-2 simple example pages, do not import yours or create complex one, it can be dummy content like TEST EN TEST ES and etc
- Share with me step by step guide on what you did and how can I see it
This will help us to report the probable issue to the compatibility team and solve the possible problem faster.
Installed this plugins:
Elementor
CPT UI
Gridbuilder
ACF
In ACF I created a new field group with just some simple textarea's and selects.
Than I created the template pages in Elementor with the dynamic fields and made in Gridbuilder the layout overview and cards.
In the cards of Gridbuilder I added the dynamic fields.
At the end I filed in all missing translations.
But the same issue happens. Detail pages (Elementor) are fine, but gridbuilder select options not. It looks like WPML can't translate that string. Although it has been translated into the back-end.