MTCodes Translator & Language Switcher

MTCodes Translator & Language Switcher

Details
View on WordPress

MTCodes Translator is a lightweight multilingual plugin with no dependencies and no theme coupling, built by MTCodes.

  • Unlimited languages — every non-default language is served under its own URL prefix (/bs/, /fr/, /de/, …); the default language stays at the site root.
  • Works with any builder — the fully rendered HTML is parsed and every text node (plus alt, title, placeholder, aria-label and SEO meta) is swapped against the translations table. Strings without a translation stay in the default language and appear in the admin editor automatically.
  • SEO-ready — hreflang alternates with x-default on every page, self-referencing canonicals on translated URLs, per-language <html lang> and og:locale, translated <title> and meta description, and language variants of all pages in the core XML sitemap.
  • Language switcher[mtml_switcher] shortcode, mtml_switcher() template tag, or build your own with mtml_languages(), mtml_lang_url() and mtml_current_lang().
  • Importer — optionally imports a theme dictionary file (inc/i18n.php returning array( 'lang' => array( 'key' => 'text' ) )).

Details

Plugin code:
mtcodes-translator
Plugin version:
1.0.0
Outdated:
No
WP version:
5.9 or higher
PHP version:
7.4 or higher
Test up to WP version:
7.1
Total installations:
0
Last updated:
2026-08-21
Rating:
Times rated:
0
hreflang
language-switcher
multilingual
translate
translation