=== Vabelon: Lightweight Multilingual, Hreflang Tags & Language Switcher ===
Contributors: rnzo
Tags: multilingual, translation, hreflang, language switcher, bilingual
Requires at least: 6.2
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 26.11.26.07
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Lightweight bilingual and multilingual sites: translated addresses, hreflang tags and a language switcher. No AI, no external service.

== Description ==

**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`.
* **Hreflang tags.** Every page with a published translation lists its alternates in the page head, with `x-default` pointing at the default language.
* **The right page language.** WordPress runs in the language of the address, so the `lang` attribute 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_types` filter.

[See the features](https://vabelon.com/features) or [read the documentation](https://vabelon.com/docs).

== Installation ==

1. In WordPress, go to **Plugins > Add New** and search for "Vabelon".
2. Click **Install Now**, then **Activate**.
3. Open **Settings > Vabelon**, add your languages and choose the default.
4. Edit a page, pick its language in the **Vabelon** box and save.
5. Write the translation as a new page, then link the two by entering the translation's ID in the **Vabelon** box.
6. Add `[vabelon_switcher]` to your header, a widget or a page.

For a ZIP installation, go to **Plugins > Add New > Upload Plugin**, select your Vabelon ZIP, install it and activate it.

Vabelon requires WordPress 6.2 or later and PHP 7.4 or later. Follow the [install and activate guide](https://vabelon.com/docs/install-and-activate) for each step with examples.

== Frequently Asked Questions ==

= Does Vabelon translate my content automatically? =

No. You write each translation, or paste one you had translated. Vabelon organizes the languages, addresses, hreflang tags and switcher around the pages you publish.

= How do I make my WordPress site bilingual? =

Add two languages under **Settings > Vabelon**, give each page its language, and link every page to its translation. See [add your languages](https://vabelon.com/docs/add-your-languages) and [link translations](https://vabelon.com/docs/link-translations).

= What do the addresses of translated pages look like? =

Each language except the default has a prefix. A Spanish page lives at an address such as `/es/contacto`, and the Spanish home is `/es`. Read more about [language addresses](https://vabelon.com/docs/language-addresses).

= Does Vabelon add hreflang tags? =

Yes. A page with at least one published translation lists every language version and an `x-default` entry. Pages without a translation print no hreflang tags. See [hreflang and page language](https://vabelon.com/docs/hreflang-and-page-language).

= How do I add the language switcher? =

Use the `[vabelon_switcher]` shortcode in a page, a widget or your theme. The [language switcher guide](https://vabelon.com/docs/language-switcher) shows the markup, and [hooks and CSS classes](https://vabelon.com/docs/hooks-and-css-classes) lists the classes to style.

= Can I translate my front page? =

Yes, when your site uses a static front page. Link a translation to it and that translation becomes the home of its language. See [translated front page](https://vabelon.com/docs/translated-front-page).

= What happens to the pages I already have? =

Nothing changes. Pages without a language are treated as the default language and keep their addresses. See [existing content](https://vabelon.com/docs/existing-content).

= Does it work with custom post types? =

Posts and pages are supported out of the box. Add other post types with the `vabelon_post_types` filter, described in [hooks and CSS classes](https://vabelon.com/docs/hooks-and-css-classes).

= What happens when I remove Vabelon? =

Deleting the plugin removes its settings and language labels. Your pages and posts, including every translation, stay in WordPress. See [removing Vabelon](https://vabelon.com/docs/removing-vabelon).

= Where do I get help, ask a question or request a feature? =

Start with the [documentation](https://vabelon.com/docs) and the [frequently asked questions](https://vabelon.com/faqs). For support, visit [vabelon.com/support](https://vabelon.com/support). For questions and feature requests, [contact us](https://vabelon.com/contact).

== Changelog ==

[View the complete release history](https://vabelon.com/changelog).

= 26.11.26.07 =

* First release on WordPress.org. [Release notes](https://vabelon.com/changelog).
