> For the complete documentation index, see [llms.txt](https://www.one.thezero.club/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.one.thezero.club/guide/site-options/multi-language.md).

# Multi-language

Zero One is multi-language ready, and actually, in config.php it is set to `'languages' => true`. With English as the main language. And serving it as site root as a base. So, every `.txt` file in `content` folder has `.en.txt` at the end.&#x20;

{% hint style="warning" %}
Have in mind that Site Settings are also translatable, which means that you can have different settings per language.&#x20;
{% endhint %}

### If English is your website default language

And you want to add more languages, just go to Kirby Settings -> Languages, add a new language and start translating your content. Everything will work as expected.&#x20;

See also:

* <https://getkirby.com/docs/guide/languages/introduction#adding-languages__via-the-panel>
* <https://getkirby.com/docs/guide/languages/translating-content#panel-users>

### If English is NOT your website default language

Go to Kirby Settings -> Languages, and delete English as a default language. Add your language as the default language. That's it, you can start working.&#x20;

There is just one thing. If you want your default language to be at domain root, you will have to go to `zero-one/site/languages/[yourlanguageextension].php`, open it with a text editor and

```markup
# Change this
'url' => NULL

# Into this
'url' => '/'
```

When saved, your language will be at domain/folder root.

### Languages detect support

From version 2.1.0 support for automatic language detection exist in Zero One.&#x20;

You just have to add to **`config.php`** next option:

```
'languages.detect' => true,
```

{% hint style="warning" %}
If you are using multi-domain ([separate domain for language](https://getkirby.com/docs/guide/languages#a-separate-domain-for-each-language)), language detect can't work, so please turn it off. You can remove whole language detect code from config file.
{% endhint %}

### RTL support

{% hint style="info" %}
Theme Styler by default doesn't support RTL language, small code changes are needed for that to work. **Contact us for help with that.**&#x20;
{% endhint %}

Zero One supports RTL (right-to-left) languages.&#x20;

**But website styling must be done only by** [**LESS/CSS styling**](https://www.one.thezero.club/guide/theme-styling/less-css-setup)**.**&#x20;

But to enable support on the front-end you'll have to [override](https://www.one.thezero.club/guide/theme-extending) `site/plugins/zero-one/snippets/header.php` and instead of

```markup
<?= css(['assets/app/dist/css/uikit.app.min.css']) ?>
```

Add

```markup
<?= css(['assets/app/dist/css/uikit.app-rtl.min.css']) ?>
```

And when you compile CSS files <https://www.one.thezero.club/guide/theme-styling/less-css-setup#compile> instead of `pnpm compile` you'll have to use `pnpm compile-rtl`.

Learn more at <https://getuikit.com/docs/rtl>.

Also, check out RTL enabling in Kirby docs <https://getkirby.com/docs/guide/languages/supporting-RTL-languages>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://www.one.thezero.club/guide/site-options/multi-language.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
