Translate WordPress with Google Translate multilanguage plugin using AI translation. Complete multilingual SEO...
Adds shortcodes to the WPML environment, like wpml__, wpml_e and more. Makes WP full WPML ready.
WPML Shortcodes is a WordPress plugin designed to enhance the multilingual capabilities of your website. It adds functions and shortcodes that allow you to easily implement translations for text strings within your theme. This plugin is particularly useful for developers looking to make their WordPress sites fully compatible with WPML, facilitating the translation process through simple code and shortcode usage.
The plugin includes functions like wpml__ and wpml_e, which require you to provide a string and context for translation. Additionally, it offers the wpml_if shortcode to display content conditionally based on the selected language. This makes it suitable for anyone managing a multilingual site, especially those familiar with coding.
Best for: This plugin suits developers and site owners who need to implement multilingual functionality in their WordPress themes.
What it does well
Where it falls short
WPML Shortcodes provides essential tools for multilingual WordPress development, but its age may limit compatibility with the latest WordPress features.
Mirco Babini's own description of WPML Shortcodes, lightly tidied.
Adds the wpml__ and wpml_e functions to your theme and the wpml__ shortcode to your WordPress website. Make your WordPress full WPML ready
<?php wpml__( $text, $context ); ?>
<?php wpml_e( $text, $context ); ?>
Similarly to the behaviour of the __, _e functions, you must provide a string to make translateable and a context.
That’s it; just provide translations from the WPML > String Translations admin panel.
Check how to use the shortcode below.
<h1><?php echo wpml__( 'Title', 'wpmlshortcodes' ); ?></h1>
<h2><?php wpml_e( 'Subtitle', 'wpmlshortcodes' ); ?></h2>
<h1>[wpml__ context=wpmlshortcodes]Title[/wpml__]</h1>
<h2>[wpml__ context=wpmlshortcodes]Subtitle[/wpml__]</h2>
NEWS! WPML Translate (+ shortcode)
Adds the wpml_if (ex wpml_translate) shortcode to your WPML suite. You can also use the wpml_e__if_language( $content, $lang ) in your php code.
<p><?php
wpml_e__if_language( 'Text', 'en' );
wpml_e__if_language( 'Testo', 'it' );
?></p>
[wpml_if lang='en']Text[/wpml_if][wpml_if lang='it']Testo[/wpml_if]
It also supports backward compatibility for wpml_translate and wpml_language from WPML Translate Shortcode (deprecated plugin);
Welcome to the new WPML Shortcodes. This plugin is the new WPML Translate Shortcode, became a full-translation suite.
Other plugins for running multilingual.
Translate WordPress with Google Translate multilanguage plugin using AI translation. Complete multilingual SEO...
Translate WordPress plugins and themes directly in your browser. Versatile PO file editor with integrated AI t...
Translate your site visually, directly from the front-end. Go multilingual in minutes using automatic AI trans...
Convert Non-Latin characters in post, page and term slugs to Latin characters.
Integrate WhatsApp experience directly into your WordPress website.
OneTap is a multilingual WordPress plugin designed for seamless website accessibility.