顶级键
localesbucketsgroupsllmstorage(用于sync为必填)cache(可选)
locales
source(字符串,必填)targets(字符串数组,必需)fallbacks(对象,可选)
buckets
- 桶名称到存储桶定义的映射
files带有from和to模板
groups
- 组名到组定义的映射
targets数组buckets数组
llm
profilesprofile 名称到 provider/model/prompt 的映射- 用于上下文构建覆盖的可选
context_memory对象,包含provider和model - 支持的提供方:
openai|azure_openai|anthropic|gemini|bedrock|lmstudio|groq|mistral|ollama rules数组,包含priority、group、profile
storage
adapter:poeditor|lilt|lokalise|crowdin|phrase|smartlingconfig:适配器特定字段
cache
enabled布尔值endpoint字符串project_key_env字符串timeout_seconds整数
CSV 工作流说明
在运行基于 CSV 的本地化流程时,请使用buckets.*.files[].from和to来指向.csv文件。
- 按语言区域划分的文件通常在
[locale]的to路径中使用。 - 共享的 CSV 文件可以复用相同的
from和to路径。