# 本地化和翻译

## 如何使用:

要导出语言Token（获取语言设置的标记），请运行以下命令：

```
/ecoenchants locale export
```

下载语言请运行以下命令:

```
/ecoenchants locale download <token>
```

权限如下:

```
ecoenchants.command.locale
ecoenchants.command.locale.download
ecoenchants.command.locale.export
(ecoenchants.command.locale.*)
```

## 为什么使用这个

很多时候，人们希望使用已经存在的Eco附魔翻译。假设有人有一个俄语本地化文件，但是并不想手动替换lang.yml，这需要耗费时间。他们只需要输入一个指令就能导出语言文件并给你一个Token，并且其他人可以通过输入相应的Token获取语言文件。

这大大方便了本地化。

## 已知本地化文件:

如果你想提交token请在discord上联系作者

| Language | Token      | Author         |
| -------- | ---------- | -------------- |
| 繁体中文     | usanelonoj | YinYue         |
| 法语       | jazuwiyido | Bananasmoothii |
| 西班牙语     | ubusirecem | JreenCorp      |
| 简体中文     | mikugesura | ChromaPIE      |


---

# 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://xiaomomi.gitbook.io/ecoenchants/pei-zhi/yu-yan-he-fan-yi.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.
