This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

WPML Translate Shortcode


Adds the wpml_translate shortcode to your shortcode suite. You can also use the wpml_text_if_language( $lang, $content ) in your php code.

Usage (via code)

echo wpml_text_if_language( ‘en’, ‘Text’ ); echo wpml_text_if_language( ‘it’, ‘Testo’ );

Usage (via shortcode)

[wpml_translate lang=’en’]Text[/wpml_translate][wpml_translate lang=’it’]Testo[/wpml_translate]


  • wpml_language is an alias for wpml_translate shortcode
  • code and language are alias for lang attribute


If you wanna contribute, pull requests on

Developed by Mirco Babini, WordPress Consultant, Web Developer and Data Lover.


  1. Upload wpml-translate-shortcode/ to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress


There are no reviews for this plugin.

ডেভেলপার এবং কন্ট্রিবিউটর

“WPML Translate Shortcode” is open source software. The following people have contributed to this plugin.


Translate “WPML Translate Shortcode” into your language.

ডেভেলপমেন্ট এ আগ্রহী?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • DEPRECATED. Use WPML Shortcodes. It’s way better.


  • First release, it just works.