You are using Advanced Custom Fields for creating option pages and you have Polylang installed for awsome multilingual site ?
Sadly, Polylang is not handling ACF’s Option Pages. Which means values will be the same for all languages you have set.
We are here to save your life ! Once this plugin is activated, you will be able to set a different value for each language, and if none is set, the “All languages” value will be used as default one.
This plugin will store a value for each language into database. Then Polylang’s languages are used to get the values from the DB. That means at activation, all existing data will not be anymore available, but still in database. You will retrieve it at plugin deactivation.
Then to set and contribute your option page, simply use the Polylang’s language admin flags ui.
- Almost simple fields (text, textarea, links, etc)
- Repeater fields (with simple fields)
This plugin is only maintained, which means we do not guarantee some free support. Consider reporting an issue and be patient.
To facilitate the process of submitting an issue and quicker answer, we only use Github, so don’t use WP.Org support, it will not be considered.
First activate and configure ACF & Polylang on you site.
Then activate ACF Options For Polylang to handle ACF Options in setted Polylang’s languages.
- Download and install using the built-in WordPress plugin installer.
- Site activate in the “Plugins” area of the admin.
- Optionally drop the entire
acf-options-for-polylangdirectory into mu-plugins.
- Nothing more, this plugin is ready to use !
მონაწილეები & დეველოპერები
“ACF Options For Polylang” ღია პროგრამული უზრუნველყოფაა. შემდეგმა ადამიანებმა წვილი შეიტანეს მის განვითარებაში.მონაწილეები
= 1.1.10 – 1 Sept 2021
– FIX: WordPress.org version generation
= 1.1.9 – 1 Sept 2021
– FIX: ACF 5.6.0 version check
– FEATURE: Add new filter bea.aofp.excluded_post_ids to skip page ids
= 1.1.8 – 27 March 2021
– FIX : Rest API returns now the right value
– FIX : Ajax requests where not localized
– FIX : Compatibility with new versions of ACF
1.1.7 – 07 May 2019
- Feature: Add a context-sensitive help to the user on ACF options page (tired of updating the generic options …)
- Improve: object detection from ACF with get_field()
- Feature: Add translation POT and french translation
- FEATURE #31: Brand for wp.org
- Test: Test up on WP 5.2
- FIX #41: fix bug with all language failback and repeater
1.1.6 – 19 Mar 2019
1.1.5 – 11 Dec 2018
- FIX wrong constant
1.1.4 – 13 Nov 2018
- Refactor by adding the Helpers class
- FEATURE #26 : allow to precise to show or hide default values for a specific option page
- FEATURE #21 : handle custom option id
1.1.3 – 2 Aug 2018
- FEATURE #23 : requirement to php5.6 whereas namespace are 5.3
1.1.2 – 31 Jul 2018
- FIX #22 : error with repeater fields default values
1.1.1 – 9 Mai 2018
- FIX #15 : way requirements are checked to trigger on front / admin
1.1.0 – Mar 2018
- True (complet) plugin.
- Add check for ACF 5.6.
1.0.2 – 23 Dec 2017
- Refactor and reformat.
- Handle all options page and custom post_id.
- Now load only if ACF & Polylang are activated.
- Load later at plugins loaded.
1.0.1 – 19 Sep 2016
- Plugin update.
1.0.0 – 8 Mar 2016
- Init plugin.