Current Language Class on the Body Tag
Adds classes like lang-fr and dir-rtl to the body tag, so you can adjust styles per language, whether the language comes from WPML, Polylang or the WordPress locale.
Snippet Library
Snippets for multilingual sites: language switchers, translated strings and per-language behavior with WPML, Polylang and similar plugins. For sites that serve readers in more than one language.
Adds classes like lang-fr and dir-rtl to the body tag, so you can adjust styles per language, whether the language comes from WPML, Polylang or the WordPress locale.
Uses a different date and time format for each language, such as 27 October 2026 in British English and 27. Oktober 2026 in German, whenever the site or user language changes.
Swaps the site logo set in the Customizer for a language-specific image, using the language from WPML, Polylang or the WordPress locale.
Keeps the dashboard in English for administrators while the site and everyone else's dashboard stay in the site language, handy for developers supporting non-English sites.
Adds a small window.wpideLang object with the current locale, language code and text direction, so your scripts can format dates, numbers or messages correctly without guessing.
Uses translations from a closely related language when the visitor's exact locale has none, for example German (Germany) files on a Swiss German site or Spanish (Spain) on a Mexican Spanish site, instead of falling back to English.
Starts calendars and date pickers on Sunday or Monday depending on the current language, instead of one fixed setting for every visitor.
Shows each user's chosen dashboard language in Users > All Users, which helps when you send emails or support in their language.
Adds a [wpide_money] shortcode that formats an amount in a currency using the conventions of the current language, like $1,234.50, 1.234,50 € or ¥1,235.
Adds a [wpide_number] shortcode that prints a number with the thousands and decimal separators of the current language, for example 1,234.5 or 1.234,5.
Adds a language menu to the toolbar so each user can switch their own dashboard language in one click, using the languages installed on the site.
Changes specific interface strings (button labels, notices, form text) differently for each language, without editing translation files.
Shows a different site title and tagline for each language the site is displayed in, without a translation plugin, by mapping locales to text.
Lets visitors switch the theme and plugin interface language with a ?lang=fr_FR link; the choice is remembered in a cookie and limited to languages you allow.
Makes Polylang pick the language set in a logged-in user's profile when it decides which language to show them on the homepage, instead of relying on browser settings.