このプラグインは WordPress の最新3回のメジャーリリースに対してテストされていません。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress で使用した場合は互換性の問題が発生する可能性があります。

WPML Shortcode Translator

説明

WPML.org has an excellent plugin to make WordPress sites multilingual. As well as powerful tools to manage the translation and translators.

Reusable Text Blocks makes centralizing reusable text quick and easy.
https://wordpress.org/plugins/reusable-text-blocks/

WPML doesn’t work Reusable Text Blocks and other similar type plugins, resulting in messy workarounds.

The solution was suggested on this thread:
http://wpml.org/forums/topic/conditional-language-shortcode/

And so WPML Shortcode Translator was created so you can use power of WPML anywhere. For example:

[wpml_language language=”en”]Hello[/wpml_language]
[wpml_language language=“ja”]こんにちは[/wpml_language]

Enjoy.

インストール

  1. Download the wpmlshortcodetranslator.zip
  2. Upload to ‘/wp-content/plugins/’ folder
  3. Activate the plugin through the ‘Plugin menu in WordPress backend plugin section’
  4. Add shortcode [wpml_language language=”en”]your content[/wpml_language] (eg: language=”en” is for english ) to your post/page textblock.

FAQ

Example of short code usage

Add shortcode [wpml_language language=”en”]your content[/wpml_language] (eg: language=”en” is for english ) to your post/page textblock.

Do I need to have WPML.org plugin installed?

Yes.

Is the ELSE clause supported?

No.

評価

このプラグインにはレビューがありません。

貢献者と開発者

WPML Shortcode Translator はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“WPML Shortcode Translator” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

1.0

  • Welcome!