Skip to content

Commit 82a325c

Browse files
committed
docs(studio): i18n of the UI
1 parent 1a3259c commit 82a325c

File tree

1 file changed

+32
-1
lines changed

1 file changed

+32
-1
lines changed

docs/content/docs/9.studio/2.setup.md

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ export default defineNuxtConfig({
6767
})
6868
```
6969

70-
### Options
70+
### Repository Options
7171

7272
#### Root directory `default: ''`
7373

@@ -159,3 +159,34 @@ Secure OAuth-based login with **Google** should be available quickly in the Beta
159159
::tip
160160
You can also use the shortcut `CMD` + `K` to redirect to the Studio route.
161161
::
162+
163+
## Internationalization
164+
165+
Nuxt Studio includes built-in internationalization support with the following languages available:
166+
167+
- 🇬🇧 **English** (default)
168+
- 🇫🇷 **French**
169+
170+
### Configuration
171+
172+
Set your preferred language in your `nuxt.config.ts`:
173+
174+
```ts [nuxt.config.ts]
175+
export default defineNuxtConfig({
176+
studio: {
177+
i18n: {
178+
defaultLocale: 'fr' // 'en' or 'fr'
179+
}
180+
}
181+
})
182+
```
183+
184+
This will translate:
185+
186+
- All UI elements and labels
187+
- Monaco editor snippets and code completion
188+
- Contextual messages and notifications
189+
190+
### Contributions
191+
192+
Community contributions for new language translations are welcome! If you'd like to add support for a new language, please visit the [GitHub repository](https://github.com/nuxt-content/studio) and drop a pull request 💚

0 commit comments

Comments
 (0)