這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

WPML2WPMSLS

外掛說明

See https://wordpress.org/extend/plugins/wpml2wpmsls/

WPML stores each entry as a separate post and uses some custom tables to connect the translations.
If you de-activate the plugin or have issues with functionality related to version updates, you get one site with multi-lingual confusion.
See Getting WordPress to speak your language for more details how /
why using a WordPress MultiSite / Network is becomming the recommended strategy for multilingual sites. At least until it is fully supported in core.

This plugin:

  • Converts the WPML translation records into meta fields on actual posts or post types
  • Helps with the export/import to your new WPMS site the data.
  • Restores the meta data back to options so that Multisite Language Switcher will recognize all your translations.

You will need to handle conversion of any strings, .po files or other language elements separately.

Download

You can download the latest stable version of WPML2WPMSLS from the WordPress
Plugin Repository at https://wordpress.org/plugins/WPML2WPMSLS/>

Help and Support

Please post questions, request for help to the WordPress plugin forum dedicated to it: https://wordpress.org/support/plugin/WPML2WPMSLS.

TO-DO’s

= Complete the enhancements for WordPress export. =
Currently, if you have 100 posts translated into 3 languages, you would export all posts once, import that same .xml file into 3 sites and delete the 200 from each
site which are not the corresponding language. Then, you would be able to run steps 7 and 8 of the usage instructions above. With an enhanced WordPress export feature
built into this plugin you would be able to specify the language for export to filter files. In that same scenario, you would run 3 exports (100 posts each of unique
language) and import each language-based export file into the new sites before running the same steps 11 thru 13 above.

Source and Development

WPML2WPMSLS welcomes friendly contributors wanting to lend a hand, be it in
the form of code through SVN patches, user support, platform portability
testing, security consulting, localization help, etc.

The [current] goal is to keep the plugin self-contained (ie: no 3rd-party lib)
for easier security maintenance, while keeping the code clean and extensible.

Active development for the plugin is handled via GitHub with releases being published to the WordPress Plugin Repository:

Project History

Originally started because, well, you know…Efficiency or lazyness – your pick.

安裝方式

  1. Upload the WPML2WPMSLS directory to the /wp-content/plugins/ directory of your WPML-based multilingual site.
  2. Login to your WordPress instance as an admin user.
  3. Activate the plugin through the ‘Plugins’ menu in WordPress.
  4. Go to the Settings > WPML 2 WPMSLS menu.
  5. Set Conversion Mode to WPML and select which post type(s) you want to convert.
  6. Press Update. All of the selected post types will have their translations associated together via meta data.
  7. Export your post type(s) using the WordPress export.
  8. Import your posts to each of your language specific WordPress Network sites.
  9. Install, activate and configure Multisite Language Switcher
  10. Install the WPML2WPMSLS plugin to your WordPRess MS / Network site.
  11. Go to the Settings > WPML 2 WPMSLS menu.
  12. Set Conversion Mode to WPMS & select which post type(s) you want to finish.
  13. Press Update. All of the selected post types will have their translations restored.

使用者評論

閱讀全部 2 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈WPML2WPMSLS〉的開發相關工作。

參與者

將〈WPML2WPMSLS〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

0.1.0

Initial release. Limited test environments – feedback very welcome.

0.2.0

  • Update for PHP 7.X support
  • Begin transition of development to GitHub – https://github.com/Idealien/wpml2wpmsls
  • Begin applying WP Coding Standards