# Adding a new localization language

To add localization texts for a new language that is not yet available in the game, follow these steps:

1. **Add the font for the new language** to the `resource\interface\font\` folder.\
   For example, for Persian, use `harmattan`.
2. **Add the language configuration file** to the `resource\set\language\` folder.\
   For example, `persian.set`.
3. **Add the character collection** to the `resource\set\language\collection\` folder.\
   For our example, the Persian language (Farsi, fa) will appear in the game at this step.
4. **Add the localization text** to the `resource.fa` folder.
5. **Add localization files** to each package separately, maintaining the folder and file structure similar to the `packages\main\.en` package.


---

# 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://bestway-1.gitbook.io/documentation/localization/adding-a-new-localization-language.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.
