> For the complete documentation index, see [llms.txt](https://docs.convai.com/api-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.convai.com/api-docs/zh/cha-jian-yu-ji-cheng/unity-plugin/utilities/language-support.md).

# 语言支持

Convai 为广泛的语言提供全面的转录和语音支持。为便于无缝集成，我们的 Unity 插件附带一个自定义的 TextMeshPro（TMP）包，其中包含主要语言所需的关键字体和必要设置。

{% hint style="warning" %}
这需要预先安装 TMP Essentials，可通过 Window 选项卡中的 TextMeshPro 选项，或在项目启动时出现的提示来完成。
{% endhint %}

<figure><img src="/files/0c1c50a22e3e43e82beda03bd3a184f5ee2ba7bd" alt=""><figcaption><p>TMP 导入器（如果未导入 TMP Essentials，将自动显示）</p></figcaption></figure>

<figure><img src="/files/1a0134582b350fc2090ee18758a19b90080c9e6b" alt=""><figcaption><p>TMP Essentials 手动导入流程</p></figcaption></figure>

## 设置

要在您的项目中实现这些特定语言功能：

1. 在 Unity 中打开 Convai 设置窗口。
2. 找到“包管理”部分。
3. 点击“Convai 自定义 TMP 包”按钮。

<figure><img src="/files/94e588961ef1a582e3e91cdbe348b4f0d262bf0f" alt=""><figcaption></figcaption></figure>

安装完成后，只需导入您需要语言支持的角色，与其对话，字体就会自动在转录文本中渲染。

目前，我们为以下语言提供字体：

* 阿拉伯语
* 日语
* 韩语
* 中文

## RTL 支持

我们还通过聊天 UI 为从右到左书写的语言提供支持，例如乌尔都语、波斯语和阿拉伯语。因此，例如，如果您与一个阿拉伯语角色对话，或者角色名称是阿拉伯语，文本将自动启用 Unity 提供的 RTL 功能，以呈现正确的转录文本。

<figure><img src="/files/ae4f3f2539df6dd845fc6735b73a1a02bc673ad6" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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.convai.com/api-docs/zh/cha-jian-yu-ji-cheng/unity-plugin/utilities/language-support.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.
