Linux 软件免费装
Banner图

WakaLang

开发者 noricku
wakalab
更新时间 2026年6月22日 15:15
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

i18n translation multilingual hreflang language-switcher

下载

0.1.0 0.1.1

详情介绍:

WakaLang is a lightweight multilingual plugin for WordPress. It keeps the visitor's chosen language stable across the whole site using clean, URL-prefixed addresses (for example /en/about/ and /ja/about/), and is designed to be simple for manual translation workflows on technical blogs and documentation sites. The free plugin is fully usable on its own and makes no external network calls. Free features Privacy WakaLang does not call any external service, does not track visitors, and stores no personal data. It runs entirely on your own site. Third Party Services WakaLang Free does not connect to any third-party service, CDN, telemetry endpoint, license server, or translation API. It serves its assets from your WordPress site and performs language routing locally. Optional add-on A separate paid add-on is planned for AI-assisted, Markdown-safe translation using an administrator-provided API key, glossary, translation memory, and differential translation. The free plugin contains none of that add-on code and works fully without it.

安装:

  1. Upload the wakalang folder to /wp-content/plugins/, or install it from the Plugins screen.
  2. Activate the plugin.
  3. Go to WakaLang → Languages to register your languages and set a default.
  4. Go to WakaLang → Settings and choose a header or footer language switcher position, or add the block/shortcode where you want it manually.

屏幕截图:

  • Settings screen for URL-prefix behavior, browser-language detection, and x-default hreflang output.
  • Front-end language switcher showing the active language and alternate language links on a prefixed page.
  • Language Switcher block available in the block editor and rendered by the same front-end switcher.

常见问题:

Does WakaLang send my content anywhere?

No. WakaLang Free makes no external network calls, does not use a CDN, does not include telemetry, and does not perform license checks.

How does WakaLang decide the current language?

From the URL prefix (for example /en/). The prefix is authoritative; visitors are never silently redirected away from the language they are viewing.

Can I use WakaLang without an add-on?

Yes. The free plugin is complete for manual multilingual sites: register languages, use URL prefixes, link translated posts, output a switcher, and publish hreflang alternates.

How do I show a language switcher?

Choose "Page header" or "Page footer" under WakaLang → Settings → Language switcher position to show the switcher in the site layout instead of inside post content. You can also add the Language Switcher block, place the [wakalang_switcher] shortcode in content, or call wakalang_language_switcher() from a theme template. You can show country flags (rendered as Unicode emoji, no external requests) with the flags option set to flag or flag_and_name. To turn the switcher off everywhere without removing it from your content, toggle "Show language switcher" off on the Settings screen.

How do I link a post to its translation in another language?

Open the post or page editor and use the WakaLang meta box to set the post's language and link it into a translation group. From there you can see the other-language versions and create a draft translation to fill in. Taxonomy terms are linked the same way from the term editor. WakaLang stores these relationships in its own table and removes them automatically when a post is deleted.

Do menus and internal links follow the current language?

Yes. While a visitor is on /en/, menu links, internal permalinks, the site logo/home link, and block-theme navigation keep the /en/ prefix. WakaLang maintains the prefix only — it does not silently redirect to a different translation — and it leaves external links, anchors, /wp-admin/, REST, and feeds untouched.

Can I migrate from Polylang or WPML?

WakaLang does not include an automatic importer. You register your languages, then set each post's language and link translations into a group manually. Because WakaLang relies on WordPress's standard slugs and a small custom table, content stays in plain WordPress posts and terms.

更新日志:

0.1.1 0.1.0