Home›Support›English Support›[Escalated to 2nd Tier] ACF, WPML, ACFWPML - Fields on Options pages set to
[Escalated to 2nd Tier] ACF, WPML, ACFWPML - Fields on Options pages set to
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.
WordPress 6.7 has introduced a new issue that impact translations, please update WooCommerce and WPML to the latest versions before you report issues. More about this here - https://wpml.org/errata/php-error-wp-6-7-notice-function-_load_textdomain_just_in_time-was-called/
When viewing the French site, I expect to see `$twitter_handle = 'TwitterHandleHere'`.
Instead, I got `$twitter_handle = null`.
I then go to my options page (which has no editable fields in my other languages).
When viewing the French site, I now see `$twitter_handle = 'TwitterHandleHere'`.
This may be a misunderstanding on my part around how the WPML 'Copy' setting functions. I guess 'Copy' means it is literally copying the value on save to the FR version.
If this is not a bug, could it please be a feature request for 'Copy' (Or a new setting?) to pull the value from the default language directly? Trusting the end user to remember to go and save an options page that doesn't actually have any editable fields on seems rather counterintuitive.
I've added a screenshot of my options page, showing all fields locked and showing the values I'm expecting greyed out.
1 - The currently backend behaviour is confusing. It's not clear from this that the fields in French are technically "empty". It's showing me a greyed out value from the default language in the backend so that's why I'm expecting when I use get_field() to get the default value on the frontend.
2 - I'd prefer not to have to hit save on 1/2/3/4 different languages for every options page.
I've seen some workaround in the community such as this thread, these do work for me but I was expecting ACFML v2 to handle this sort of thing for me: hidden link
Symptoms:
When viewing the French site, I see `$twitter_handle = null` instead of the expected value 'TwitterHandleHere'. After re-saving the options page, the value appears correctly.
Questions:
Can the 'Copy' setting be modified to pull the value from the default language directly? (Or a new setting added).
Thank you for taking the time to submit your feature request. I have escalated your request to our second-tier support team for further review and consideration. I will keep you updated as soon as I receive feedback from their end.