Title: MTCodes Translator &amp; Language Switcher
Author: Milkan Trninic
Published: <strong>2026 年 8 月 21 日</strong>
Last modified: 2026 年 8 月 21 日

---

搜尋外掛

![](https://ps.w.org/mtcodes-translator/assets/icon.svg?rev=3659475)

# MTCodes Translator & Language Switcher

 由 [Milkan Trninic](https://profiles.wordpress.org/milkan2002/) 開發

[下載](https://downloads.wordpress.org/plugin/mtcodes-translator.1.0.0.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/mtcodes-translator/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/mtcodes-translator/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/mtcodes-translator/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/mtcodes-translator/#developers)

 [技術支援](https://wordpress.org/support/plugin/mtcodes-translator/)

## 外掛說明

MTCodes Translator is a lightweight multilingual plugin with no dependencies and
no theme coupling, built by [MTCodes](https://mtcodes.com).

 * **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' ) )`).

## 螢幕擷圖

[⌊Languages settings — add unlimited languages, pick the default, and turn on automatic
browser-language redirection for first-time visitors.⌉⌊Languages settings — add 
unlimited languages, pick the default, and turn on automatic browser-language redirection
for first-time visitors.⌉[

Languages settings — add unlimited languages, pick the default, and turn on automatic
browser-language redirection for first-time visitors.

[⌊Translations editor — every string discovered on the front end lands here automatically;
edit and save per language.⌉⌊Translations editor — every string discovered on the
front end lands here automatically; edit and save per language.⌉[

Translations editor — every string discovered on the front end lands here automatically;
edit and save per language.

[⌊Front end — a language-prefixed URL (/de/) with the [mtml_switcher] shortcode 
in the header.⌉⌊Front end — a language-prefixed URL (/de/) with the [mtml_switcher]
shortcode in the header.⌉[

Front end — a language-prefixed URL (`/de/`) with the `[mtml_switcher]` shortcode
in the header.

## 安裝方式

 1. Copy the `mtcodes-translator` folder into `wp-content/plugins/`.
 2. Activate the plugin.
 3. Configure languages under Settings  MTCodes Translator  Languages.
 4. Visit any page under a language prefix, then translate the discovered strings under
    Settings  MTCodes Translator  Translations.

## 常見問題集

### Do I need to duplicate my pages per language?

No. One page serves all languages; the plugin translates the rendered output per
URL.

### What happens to untranslated strings?

They are shown in the default language and collected in the admin editor, sorted
newest first.

## 使用者評論

這個外掛目前沒有任何使用者評論。

## 參與者及開發者

以下人員參與了開源軟體〈MTCodes Translator & Language Switcher〉的開發相關工作。

參與者

 *   [ Milkan Trninic ](https://profiles.wordpress.org/milkan2002/)

[將〈MTCodes Translator & Language Switcher〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/mtcodes-translator)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/mtcodes-translator/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/mtcodes-translator/)，或透過
[RSS](https://plugins.trac.wordpress.org/log/mtcodes-translator/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/mtcodes-translator/)。

## 變更記錄

#### 1.0.0

 * Initial release: language URL routing, rendered-page translation, string discovery,
   hreflang/canonical/sitemap SEO, admin editor, theme dictionary importer, switcher
   shortcode.

## 中繼資料

 *  版本 **1.0.0**
 *  最後更新 **3 週前**
 *  啟用安裝數 **少於 10 次**
 *  WordPress 版本需求 ** 5.9 或更新版本 **
 *  已測試相容的 WordPress 版本 **7.1**
 *  PHP 版本需求 ** 7.4 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/mtcodes-translator/)
 * 標籤:
 * [hreflang](https://tw.wordpress.org/plugins/tags/hreflang/)[language switcher](https://tw.wordpress.org/plugins/tags/language-switcher/)
   [multilingual](https://tw.wordpress.org/plugins/tags/multilingual/)[translate](https://tw.wordpress.org/plugins/tags/translate/)
   [translation](https://tw.wordpress.org/plugins/tags/translation/)
 *  [進階檢視](https://tw.wordpress.org/plugins/mtcodes-translator/advanced/)

## 評分

這個項目尚無任何評論記錄。

[撰寫評分](https://wordpress.org/support/plugin/mtcodes-translator/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/mtcodes-translator/reviews/)

## 參與者

 *   [ Milkan Trninic ](https://profiles.wordpress.org/milkan2002/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/mtcodes-translator/)