You are using Advanced Custom Fields for creating option pages and you have Polylang installed for awsome multilingual site ?
您正在使用“高级自定义字段”来创建选项页,并且已经为可怕的多语言站点安装了Polylang吗? p>
Sadly, Polylang is not handling ACF’s Option Pages.
遗憾的是,Polylang没有处理ACF的选项页。
Which means values will be the same for all languages you have set.
这意味着您设置的所有语言的值都将相同。 p>
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.
激活此插件后,您将可以为每种语言设置不同的值,如果未设置任何值,则“所有语言”值将用作默认值。 p>
How ?
如何? p>
This plugin will store a value for each language into database.
此插件会将每种语言的值存储到数据库中。
Then Polylang’s languages are used to get the values from the DB.
然后使用Polylang的语言从数据库获取值。
That means at activation, all existing data will not be anymore available, but still in database.
这意味着在激活时,所有现有数据将不再可用,但仍在数据库中。
You will retrieve it at plugin deactivation.
您将在停用插件时检索它。 p>
Then to set and contribute your option page, simply use the Polylang’s language admin flags ui.
然后要设置和贡献您的选项页面,只需使用Polylang的语言管理标志ui。 p>
Features
功能 p>
- Almost simple fields (text, textarea, links, etc)
- 几乎简单的字段(文本,文本区域,链接等) li>
- Repeater fields (with simple fields)
- 中继器字段(带有简单字段) li>
ul>
Who ?
谁? p>
Created by Be API, the French WordPress leader agency since 2009. Based in Paris, we are more than 30 people and
由 Be API 创建,该API自2009年以来一直是法国WordPress的领导机构。总部位于巴黎,我们有30多人,
always hiring some fun and talented guys.
总是雇用一些有趣且有才华的人。
So we will be pleased to work with you.
因此,我们很高兴与您合作。 p>
This plugin is only maintained, which means we do not guarantee some free support.
仅维护此插件,这意味着我们不保证某些免费支持。
Consider reporting an issue and be patient.
考虑报告问题,请耐心等待。 p>
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.
为方便提交问题和更快地回答问题,我们仅使用Github,因此不使用WP.Org支持,将不予考虑。 p>