Hi,
I have a bunch of existing ACF Options Pages using different ACF Field Groups, for example Partners.
The Partners field group is a repeater, most of the sub fields of which are set to copy once for things like company name and logo. We have a text field for description which is set to translate.
Can we auto-generate or copy the existing Partners records some how so they are ready to translate, or do we have to manually create new language versions for each record? We have dozens of records that need to be translated to 8 languages, so anything we can do to automate the process would be a major help.
Thanks
Phil
]]>It looks like the plugin counts default values set in ACF fields as legitimate translations.
I don’t know what other developers think, but I don’t think it should work this way. I think it should only consider a field translated if an value has been entered into the database.
]]>I’m looking for a way to call an options field for a different language in my template depending on context. I want to display a dialogue in a different language to pll_current_language
.
Something like acfofp_get_field('my_field', 'options', lang)
Any pointers gratefully received
Gettings thousands of rows with this error:
acf-options-for-polylang/classes/main.php on line 58PHP message: PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string
Can you fix?
]]>I think it’s not working anymore. Sadly.
]]>After latest update of ACF Pro, all my field conditions are reset and gone, so I see in every condition the same value several times:
If post_category is equal to “Books”
If post_category is equal to “Books”
If post_category is equal to “Books”
If post_category is equal to “Books”
Does anyone experiencing the same thing?
]]>The settings are stored in the database as options_de_CH_shp_gantrisch_adb_single_page
and options_fr_FR_shp_gantrisch_adb_single_page
and the values are visible/editable in the admin screen. But using get_field('shp_gantrisch_adb_single_page', 'options')
always returns a null value. WordPress 6.3 and plugin 1.1.11.
Can you please help me, how to use this plugin?
thank you in advance!!!
Plugin not update for 2 years
]]>The current description of the plugin is very confusing. There is no clear instruction on how to add translation and then how to query the translated options. A few example and details would be great. The github repo of the plugin is more void. A little help in documentation could make this plugin very good.
]]>First of all, brilliant and absolutely useful plugin.
When we are using options pages and create a Field Group. If ‘All languages’ is selected a different set of fields are shown. The only way to get the true field is to have that single language set at the top. This behaviour includes the default language and it seems to me as if all the language versions are, in fact, the same Field Group (which is not used) duplicated – ie enter a value in one Group and, when saved, it appears in all Groups.
I do hope you haven’t completely abandoned this Plugin.
]]>We have an ACF text area field called Bio for a custom post-type called People. When we create the new, default, English post, everything looks good. However, when I click the + to make a Spanish copy, the Bio does not get translated. Should there be a translation? https://www.pagethink.com/people/paul-jameson/ > https://www.pagethink.com/es/people/paul-jameson/
]]>When updating to the latest version of ACF Pro and this plugin I get an issue with getting field values from options pages only set on “all languages”.
ACF Pro version: 5.11.2
ACF Options For Polylang: 1.1.10
WordPress: 5.9.2
If I downgrade ACF Pro it works again. I think it’s related to this update: https://www.advancedcustomfields.com/resources/acf-field-functions/#non-acf-data but I guess this plugin needs to be update to work as before.
If I for example have an option field called “myoption”, then:
– If I have only saved it for “all languages”, then get_field(‘myoption’,’option’) will not find it.
– If I have saved it for a specific language, then get_field(‘myoption’,’option’) will find it for the specific language.
For some fields and options pages, I only want to save and read the field for “all languages” (things that should be the same for all languages anyway).
Will this be handled in a future update? Or is there some known workaround for this?
]]>Hi,
do you have any idea how to get rid of the “Show all languages” for an option page?
I have one single option page created with the plugin from John A. Huebner II
I have a custom field group for German (Polylang)
I have a custom field group for English (Polylang)
Everything works fine, except that there is this additional “Show all languages” area of the option page, that does not show the content that is added to the German or English option page.
It’s empty.
It’s not a big deal for me, but the client will definitely fill in data there and wonder why it does not work.
Do you know how I can get rid of this?
Hope you can advise and help
Thanks in advance
Markus
Hi,
I’m trying to use the ACF Options for Polylang Version 1.1.10 but could not get the custom fields working to diferent languages.
I tried many ACF versions (including 5.6.2, 5.9.5 and lastest 5.11.4).
Also, I tried to update the custom fields, create new ones, new page in a different language, edit a page in both languages, etc.
There are two observations:
1- I’m using a custom taxonomy
2- Polylang is latest version 3.1.4 (haven’t tried to change it)
What am I doing wrong?
best,
Augusto Baffa
]]>Hello,
your function set_current_site_lang checks if REST_API is defined but it doesnt check if it is defined as true. So the plugin doesnt work if REST_API is defined as false.
Cannot upgrade ACF Pro from 5.9.9 to 5.10 (or 5.10.1) because this plugin complains with
“Advanced Custom Fields should be on version 5.6.0 or above”
In the world of versioning 5.10 is higher than 5.9
This should be an easy fix, but strangely has not been sorted. Odd considering ACF is a requirement.
Hi,
it seems that the plugin does not work actually.
I installed it but my ACF options are still merged
]]>Hey team,
I’ve been using your plugin to great satisfaction. But I have a situation now where I need to go around your plugin and get all acf options content for all languages in PHP, without your automatic language selection behaviour. That way I can apply some logic in the frontend.
I’m looking for a way to bypass the acf methods that your plugin has modified, and use the original ones where I can set a language myself. Does your plugin have some kind of helper method or parameter for this? Or can you point me in the right direction how to achieve this? The only other way I can think of is to remove your plugin and do a whole other manual multi language acf options approach, but that would be a lot of work.
Thanks in advance!
Bram
Hy,
I have ACF PRO and polylang (not PRO) installed. In my functions.php I’ve added some WP admin option:
function register_footer_options_pages() {
// Check function exists.
if( !function_exists('acf_add_options_page') )
return;
// register options page.
$option_page = acf_add_options_page(array(
'page_title' => __('Footer Settings'),
'menu_title' => __('Footer Settings'),
'menu_slug' => 'footer-settings',
'capability' => 'edit_posts',
'redirect' => false
));
}
Which adds the new menu item and it works when I’m saving the strings.
However, when looking via the admin panel that settings I can’t see where can I add the languages – https://ibb.co/cvgPSpd.
The country flags are missing? Or am I doing something wrong.
Am I missing some step for adding the translations?
Thanks
]]>