Configure AkiraDocs for multiple languages with AI-powered translation support.
Add language settings to `akiradocs.config.json`:
1{
2 "localization": {
3 "defaultLocale": "en",
4 "fallbackLocale": "en",
5 "locales": [
6 {
7 "code": "en",
8 "name": "English",
9 "flag": "οΏ½πΈ"
10 },
11 {
12 "code": "es",
13 "name": "EspaΓ±ol",
14 "flag": "πͺπΈ"
15 },
16 {
17 "code": "fr",
18 "name": "Français",
19 "flag": "π«π·"
20 }
21 ]
22 },
23 "translation": {
24 "auto_translate": true,
25 "provider": "anthropic",
26 "targetLanguages": ["es", "fr", "de"],
27 "excludedPaths": ["_meta.json"]
28 }
29}
1docs/
2βββ _contents/
3β βββ en/ # Source language
4β β βββ docs/
5β βββ es/ # Spanish translation
6β β βββ docs/
7β βββ fr/ # French translation
8β βββ docs/