Lokalise:如何对特定分支使用“include_pids”
Lokalise: How to use `include_pids` for specific branch
我在 Lokalise 上有两个项目(主项目和共享项目),
我还使用 their API 下载翻译文件并在 include_pids
中传递共享项目 ID 以包含共享翻译,它工作正常。
请求正文:
{
"format": "json",
"original_filenames": false,
"export_empty_as": "skip",
"include_pids":["641086835fcfa7214a3a83.13574983"]
}
现在出于某种原因,我在共享项目中创建了一个新分支并想获得该特定分支,我认为传递分支名称 FeatureBranchName
会起作用,但它没有:
{
"format": "json",
"original_filenames": false,
"export_empty_as": "skip",
"include_pids":["641086835fcfa7214a3a83.13574983:FeatureBranchName"]
}
include_pids
是否适用于特定分支?
不,project_id:branch
架构目前不适用于 include_pids
请求参数。
在使用来自 FeatureBranchName
分支的翻译之前,您必须将您的分支合并到默认分支。
我在 Lokalise 上有两个项目(主项目和共享项目),
我还使用 their API 下载翻译文件并在 include_pids
中传递共享项目 ID 以包含共享翻译,它工作正常。
请求正文:
{
"format": "json",
"original_filenames": false,
"export_empty_as": "skip",
"include_pids":["641086835fcfa7214a3a83.13574983"]
}
现在出于某种原因,我在共享项目中创建了一个新分支并想获得该特定分支,我认为传递分支名称 FeatureBranchName
会起作用,但它没有:
{
"format": "json",
"original_filenames": false,
"export_empty_as": "skip",
"include_pids":["641086835fcfa7214a3a83.13574983:FeatureBranchName"]
}
include_pids
是否适用于特定分支?
不,project_id:branch
架构目前不适用于 include_pids
请求参数。
在使用来自 FeatureBranchName
分支的翻译之前,您必须将您的分支合并到默认分支。