必需配置
可选配置字段
targetLanguagestimeoutSeconds
令牌解析
- 默认环境变量:
LOKALISE_API_TOKEN - 用
apiTokenEnv覆盖
常见问题
- 未授权错误:令牌缺失或权限范围不足
- 语言区域不匹配:将 Lokalise 语言代码与目标区域设置对齐
- 超时错误:对于大型项目,请增加
timeoutSeconds
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
配置 Lokalise API v2 以进行拉取/推送同步。
{
"storage": {
"adapter": "lokalise",
"config": {
"projectID": "your-project-id",
"apiTokenEnv": "LOKALISE_API_TOKEN"
}
}
}
targetLanguagestimeoutSecondsLOKALISE_API_TOKENapiTokenEnv覆盖timeoutSeconds此页面对您有帮助吗?
