Changeset 1275390
- Timestamp:
- 10/29/2015 12:45:03 PM (10 years ago)
- File:
-
- 1 edited
-
multilingual-import/trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
multilingual-import/trunk/readme.txt
r1275238 r1275390 11 11 12 12 == Description == 13 13 14 Sets the language and associates posts imported by WP ALL Import with WPML. 14 Currently, language is always explicitly set with WPML if the post is in a 15 secondary language, and posts are associated when they are in a secondary 16 language. For example, if your main language is French and your secondary 17 language is English, you must import your French posts first and your English 18 posts second, otherwise, the English posts won't be linked with the French 19 posts (the language will be correctly set though). This plugin assumes that 20 your import file contains an attribute/column specifying the language and an 21 attribute/column with an identifier that is common across all languages. 15 16 Currently, posts are only associated when they are in a secondary language. 17 For example, if your main language is French and your secondary language is 18 English, you must import your French posts first and your English posts 19 second, otherwise, the English posts won't be linked with the French posts 20 (the language will be correctly set though). 21 22 This plugin assumes that your import file contains an attribute/column 23 specifying the language and an attribute/column with an identifier that is 24 common across all languages. 22 25 23 26 == Installation == 27 24 28 1. Upload the entire `multilingual-import` folder to the 25 `/wp-content/plugins/` directory.29 `/wp-content/plugins/` directory. 26 30 2. Activate the plugin through the \'Plugins\' menu in WordPress. 27 31 3. Declare two constants in wp-config.php to specify the meta fields 28 containing the language and the common identifier: 29 `define('WP_ALL_IMPORT_WPML_LANGUAGE_META', 'language'); 30 31 `define('WP_ALL_IMPORT_WPML_ID_META', 'common_id');` 32 containing the language and the common identifier: 33 34 `define('WP_ALL_IMPORT_WPML_LANGUAGE_META', 'language');` 35 36 `define('WP_ALL_IMPORT_WPML_ID_META', 'common_id');` 32 37 33 38 == Changelog == 39 = 1.0.1 = 40 41 * release date: October 29th 2015 42 * Explicitly sets the language of a post even if the language is the default 43 one. 44 34 45 = 1.0.0 = 35 46
Note: See TracChangeset
for help on using the changeset viewer.