0

我正在尝试在我的主题的根目录中添加 wpml-config.xml。文件只有一个选项:

<wpml-config>
    <custom-field action="translate">block_1</custom-field>
</wpml-config>

在此处输入图像描述

但无论我做什么选项都不会在翻译管理中检查(检查上图)。我在这里想念什么?

4

1 回答 1

0

It's missing the main option key. It should be:

<wpml-config>
    <custom-fields> 
        <custom-field action="translate">block_1</custom-field>
    </custom-fields>
</wpml-config>

More info about WPML Language Configuration Files here:

http://wpml.org/documentation/support/language-configuration-files/

于 2014-02-09T15:13:08.123 回答