MTCodes Translator & Language Switcher
v1.0.0Milkan Trninic · 2026年8月21日 上架
Unlimited languages with SEO-ready URLs. Translates the rendered page, so it works with Elementor and any page builder.
- 正在使用
- 10 以下
- 评分
- 暂无
- 累计下载
- 297
- 最近更新
- 2026年8月22日
需要 WordPress 5.9+已测试到 7.1.5PHP 7.4+
贡献者
截图


![Front end — a language-prefixed URL ( /de/ ) with the [mtml_switcher] shortcode in the header.](https://ps.w.org/mtcodes-translator/assets/screenshot-3.png?rev=3659475)
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-labeland 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-defaulton every page, self-referencing canonicals on translated URLs, per-language<html lang>andog: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 withmtml_languages(),mtml_lang_url()andmtml_current_lang(). - Importer — optionally imports a theme dictionary file (
inc/i18n.phpreturningarray( 'lang' => array( 'key' => 'text' ) )).