Linux 软件免费装
Banner图

Duolangue — Lightweight Bilingual

开发者 wewillstudio
更新时间 2026年10月15日 02:26
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

translation multilingual bilingual language switcher hreflang

下载

1.0.4

详情介绍:

Most sites are not translated into ten languages — they are translated into two. Duolangue is built for that exact case: one site, two languages, no bloat. No custom database tables, no settings maze, no machine-translation upsell baked into checkout. Duolangue gives you a fully working bilingual site for pages, posts and custom post types: Every switcher link points to the linked translation of the current page when it exists and is published; otherwise it falls back to the home page of the target language. What Duolangue deliberately does NOT do Duolangue Pro A separate commercial edition, Duolangue Pro, adds one-click duplication into the other language, taxonomy term translation and whole-menu translation. Everything described above is in this free plugin, with no limits. Learn more at duolangue.com.

安装:

  1. Upload the duolangue folder to /wp-content/plugins/, or install it from the Plugins screen.
  2. Activate the plugin.
  3. Go to Duolangue -> Settings, pick your two languages and their WordPress locales, choose the URL structure, then save.
  4. (Optional) Go to Duolangue -> Slugs & URLs to translate your URL bases (this flushes permalinks on save).
  5. Open any page, post or custom post type entry: the "Duolangue — Language" panel in the editor sidebar lets you set its language and link its translation.

屏幕截图:

  • Every list screen gets language tabs, a language column and the translation status of each item.
  • In the block editor, set the page language and link the page to its translation.
  • Translate the URL base of each post type, including custom post types.

升级注意事项:

1.0.4 Fixes the menu language link with page builders. 1.0.3 Wording fixes in the admin screens. No functional change. 1.0.2 Initial release.

常见问题:

Does Duolangue support more than two languages?

No. Duolangue is a bilingual plugin: its data model links each page to a single counterpart in the other language, and its URLs, menus and switcher are built on that pair. This is the same in every edition — Duolangue Pro does not add languages. For three or more languages, a multilingual plugin is the right tool.

Does it work with any pair of languages?

Yes. English–French, Spanish–German, any pair. Language codes, names and WordPress locales are fully configurable.

Where is my data stored? What happens if I uninstall?

Everything lives in standard WordPress post meta and one option — no custom SQL tables. Deactivating or uninstalling preserves your language assignments and translation links by default, so reinstalling restores everything. A DUOLANGUE_REMOVE_ALL_DATA constant is available if you want a full wipe on uninstall.

Which content types are translatable?

Pages, posts and every public custom post type. Page-builder template types are excluded on purpose; developers can adjust the list with the duolangue_post_types and duolangue_excluded_post_types filters.

Are there limits?

No. There is no cap on the number of items you translate, no time limit and no license key.

更新日志:

1.0.4 1.0.3 1.0.2