Vabelon: Lightweight Multilingual, Hreflang Tags & Language Switcher
Lightweight bilingual and multilingual sites: translated addresses, hreflang tags and a language switcher.
Install in
Run a bilingual or multilingual WordPress site with translations you write yourself. Vabelon gives each language its own addresses, adds hreflang tags and prints a language switcher. Your translations are ordinary pages and posts, so they stay in your database and keep working with your theme and editor.
Vabelon is a small multilanguage plugin. It has no automatic translation, no AI, no account and no external service. It adds one settings screen and one box in the editor.
What you get
- Languages you define. Add each language under Settings > Vabelon with its address prefix, WordPress locale, hreflang code and name. Pick one as the default.
- One page per language. Give a page or post a language in the editor, then link it to its translation. Each translation is a normal post you write and publish.
- Language addresses. Translations live under their prefix, such as
/es/sobre-nosotros. The default language keeps your current addresses. - A translated front page. Link a translation to your static front page and it answers at the language home, such as
/es. - A translated blog. Link a translation to your posts page and it becomes that language’s blog index. Lists, search results and feeds show one language at a time.
- Links that follow the language. A link you wrote to another page points at that page’s translation when one is published. Your stored content is not changed.
- A menu per language. Choose a menu for each language under Settings > Vabelon. Menu items that link a page point at its translation.
- Hreflang tags. Every page with a published translation lists its alternates in the page head, with
x-defaultpointing at the default language. - The right page language. WordPress runs in the language of the address, so the
langattribute and your theme’s own strings follow the visitor’s language. - A language switcher. Place
[vabelon_switcher]wherever shortcodes work. It links each page to its translation and marks the current language.
Built to stay out of your way
- Your content stays yours. Translations are regular posts and pages. Remove Vabelon and every page is still there.
- Existing content keeps working. Content with no language is shown as the default language, so you can translate one page at a time.
- Nothing leaves your site. Vabelon makes no outside requests and stores no visitor data.
- Style the switcher your way. The switcher prints clean list markup with BEM classes and no styles of its own.
- Developer friendly. Add your own post types with the
vabelon_post_typesfilter, and read languages and translations in your theme withvabelon_current_language(),vabelon_languages(),vabelon_get_post_language()andvabelon_get_post_translations().
See the features or read the documentation.
Written by Joobi from the project's own listing. See the source page
View the complete release history.
26.11.26.10
- New: a translated posts page is that language’s blog index, links in content follow the language, and each language can have its own menu.
- Fixed: search results, feeds and the blog index now show one language. Release notes.
26.11.26.07
- First release on WordPress.org. Release notes.
Follow this listing's changes (Atom feed)