You can translate your content using machine translation engines in Crowdin. If you don’t see the engine you need among the supported MT engines, you can connect your own engine by creating an app.
任何人都可以创建可扩展 Crowdin 企业版功能的应用程序。 有关详细说明,请阅读文章开始使用 Crowdin 应用程序。
某些应用程序的功能是使用 Webhook 事件和某些使用模块来实现的。 您需要为此类应用程序实现模块。 模块是将每个应用程序集成到 Crowdin 企业版 UI 的特定部分并与其交互的功能部分。 Make sure to use the “custom-mt” module in your app manifest.
请求体:
{"strings": ["Start", "Next"] }
查询:
"target": "de"
"source": "en"
"jwtToken": "jwt token"
响应示例:
{
"data": {
"translations": ["Start", "Nächste"]
}
创建应用程序后,您可以通过 base_url 下的 manifest.json 将其安装在 Crowdin 企业版中。
现在您可以将此机器翻译连接到您的组织:
现在它已添加到您的组织中,您可以将其用于您的项目。
连接后,您可以使用它来预翻译内容或在编辑器中显示翻译建议。