# i18n

LaunchStack supports multi-language out of the box, the language files are located in the lang folder on the root.

Currently, LaunchStack comes with two languages, **English** and **Portuguese**, let's check how to use it.

#### lang/en/sidebar.php

```php
return [
    'command_palette' => 'Command Palette',
    'dashboard' => 'Dashboard',
    'help' => 'Help Center',
    'settings' => 'Settings',
    'notifications' => 'Notifications'
];
```

#### lang/pt-BR/sidebar.php

```php
return [
    'command_palette' => 'Paleta de comandos',
    'dashboard' => 'Painel de controle',
    'help' => 'Central de ajuda',
    'settings' => 'Configurações',
    'notifications' => 'Notificações'
];
```

#### Vue file

```javascript
{{ $t("sidebar.dashboard") }}
```

{% hint style="success" %}
You can see the i18n working by changing your language inside the account/edit and checking the sidebar items like Command Palette, Dashboard and etc.
{% endhint %}


---

# Agent Instructions: 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:

```
GET https://docs.launchstack.app/frontend/i18n.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
