> For the complete documentation index, see [llms.txt](https://laot7490.gitbook.io/ltbridge/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://laot7490.gitbook.io/ltbridge/utilities/locale/init.md).

# Init

Load and prepare localization from the `locales` folder of your resource.

{% hint style="info" %}
**Side:** Shared · **Category:** Locale · **API:** `LT.Locale.Init`
{% endhint %}

{% hint style="warning" %}
Add `locales/*.{json,lua}` to your `fxmanifest.lua` `files` section so clients can load translations.
{% endhint %}

## Example

```lua
LT.Locale.Init('en', 'json') -- Setup a JSON locale.
-- locales/en.json
```

## Parameters

| Name       | Required | Description                  |
| ---------- | -------- | ---------------------------- |
| `key`      | Yes      | Locale key (e.g. 'en', 'tr') |
| `fileType` | No       | 'json'                       |
