---
sidebar_position: 1
---

# locale

当前语言。

该变量可直接在 context 上获取。

该字段存在两个值：

- zh: 中文

- en: 英文

生成器插件中可根据该字段调整相关展示字段的值。