feat: add AI File Translation methods for Crowdin and Crowdin Enterprise#640
Merged
andrii-bodnar merged 3 commits intomasterfrom Mar 19, 2026
Merged
Conversation
Co-authored-by: andrii-bodnar <29282228+andrii-bodnar@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add support for AI file translation methods
feat: add AI File Translation methods
Mar 19, 2026
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #640 +/- ##
==========================================
+ Coverage 89.85% 89.99% +0.15%
==========================================
Files 41 41
Lines 2126 2156 +30
Branches 254 254
==========================================
+ Hits 1910 1940 +30
Misses 82 82
Partials 134 134 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Co-authored-by: andrii-bodnar <29282228+andrii-bodnar@users.noreply.github.com>
Copilot
AI
changed the title
feat: add AI File Translation methods
feat: add AI File Translation methods for Crowdin and Crowdin Enterprise
Mar 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds SDK support for the AI File Translation endpoints (start, status, cancel, download file, download strings) for both Crowdin (user-scoped) and Crowdin Enterprise (organization-scoped).
New methods
Crowdin (
/users/{userId}/ai/file-translations)startAiUserFileTranslation(userId, request)getAiUserFileTranslationStatus(userId, jobIdentifier)cancelAiUserFileTranslation(userId, jobIdentifier)downloadAiUserFileTranslation(userId, jobIdentifier)downloadAiUserFileTranslationStrings(userId, jobIdentifier)Crowdin Enterprise (
/ai/file-translations)startAiOrganizationFileTranslation(request)getAiOrganizationFileTranslationStatus(jobIdentifier)cancelAiOrganizationFileTranslation(jobIdentifier)downloadAiOrganizationFileTranslation(jobIdentifier)downloadAiOrganizationFileTranslationStrings(jobIdentifier)New types (
AiModel)AiFileTranslationRequest—storageId+targetLanguageIdrequired; optionalsourceLanguageId,type,parserVersion,tmIds,glossaryIds,aiPromptId/aiProviderId/aiModelId,instructions,attachmentIdsAiFileTranslationAttribute— status payload shape (stage,error,downloadName, source/target language IDs, file metadata)Usage
Original prompt
💬 Send tasks to Copilot coding agent from Slack and Teams to turn conversations into code. Copilot posts an update in your thread when it's finished.