Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 25 additions & 15 deletions navigation/localization.mdx
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
---
title: Localization
title: "Localization"
---

`"languages"` in your `docs.json` can be leveraged to partition your navigation into different languages.

We currently support localization in the following languages:

* Arabic (`ar`)
* Chinese (`cn` or `zh`, `zh-Hans` for Simplified and `zh-Hant` for Traditional)
* English (`en`)
* French (`fr`)
* German (`de`)
* Indonesian (`id`)
* Italian (`it`)
* Japanese (`jp` or `ja`)
* Korean (`ko`)
* Portuguese (`pt`)
* Portuguese (Brazil) (`pt-BR`)
* Russian (`ru`)
* Spanish (`es`)
* Turkish (`tr`)
- Arabic (`ar`)
- Chinese (`cn` or `zh`, `zh-Hans` for Simplified and `zh-Hant` for Traditional)
- English (`en`)
- French (`fr`)
- German (`de`)
- Indonesian (`id`)
- Italian (`it`)
- Japanese (`jp` or `ja`)
- Korean (`ko`)
- Portuguese (`pt`)
- Portuguese (Brazil) (`pt-BR`)
- Russian (`ru`)
- Spanish (`es`)
- Turkish (`tr`)

```json docs.json
{
Expand Down Expand Up @@ -47,3 +47,13 @@ We currently support localization in the following languages:
}
}
```

## AI Translations [BETA]

Automatically translate your docs from one language to another from a click of a button.

<Info>
AI translations is in beta - reach out to [[email protected]](mailto:[email protected]) to get access.
</Info>

AI translations allows you to choose a language you want to translate your docs to. After triggering a translation through the dashboard, it will generate a PR with the translated pages and an edited `docs.json` which gives you the opportunity to review the translations.