Linux 软件免费装
Banner图

Duolangue — Bilingual French & English Sites

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

标签

bilingual french oxygen hreflang quebec

下载

1.0.4 1.0.5

详情介绍:

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. Made in Québec, where French/English sites are the norm, Duolangue works with any pair of languages: French–English, English–Spanish, Spanish–German, you name it. Running a business in Québec? Duolangue makes it easy to offer your full site in French alongside English. 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.5 Readme and plugin name update. No functional change. 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.

Is it a good fit for a French/English site in Québec?

That is exactly what it was built for. Set French and English (e.g. fr_CA and en_CA), choose which one lives at the root, and link each page to its translation. Duolangue handles the URLs, the switcher, the menus and the hreflang tags; you stay in control of the wording.

Does it work with Oxygen Builder?

Yes. Duolangue was developed and tested on Oxygen sites. Oxygen templates are left untouched, the switcher is available as a shortcode or PHP function for code blocks, and the menu language link also works when Oxygen renders a menu by its ID.

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.5 1.0.4 1.0.3 1.0.2