Overview of the Issue
When using FBomatic Automatic Post Generator 3.4.6.2 with WPML, the posts of a rule set to a second language get categories and tags in the default language, and a rule can change the language of an existing category with the same name. Also, the plugin’s post lists are empty on translated pages for posts translated with WPML, and two list texts cannot be translated.
Workaround
For the post lists and their texts:
- Go to WPMLSettingsCustom XML Configuration.
- Add this code and save:
<wpml-config><custom-fields><custom-field action="copy">fbomatic_parent_rule</custom-field></custom-fields><shortcodes><shortcode><tag>fbomatic-display-posts</tag><attributes><attribute>category_label</attribute></attributes></shortcode></shortcodes><admin-texts><key name="fbomatic_keyword_list"><key name="*"><key name="1"/></key></key></admin-texts></wpml-config> - Translate the posts and the pages again.
For the terms of a rule set to a second language:
- Go to WPMLTaxonomy Translation and translate the categories and tags the rule uses.
- Edit each imported post and assign the translated terms.
To keep a rule from changing the language of an existing category, use keyword and auto category names that no other language uses.