feat(ai): add support for AI Translate Strings endpoint#625
Merged
andrii-bodnar merged 2 commits intomasterfrom Mar 14, 2026
Merged
feat(ai): add support for AI Translate Strings endpoint#625andrii-bodnar merged 2 commits intomasterfrom
andrii-bodnar merged 2 commits intomasterfrom
Conversation
Co-authored-by: andrii-bodnar <29282228+andrii-bodnar@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add support for AI Translate Strings method
feat(ai): add support for AI Translate Strings endpoint
Mar 3, 2026
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #625 +/- ##
==========================================
+ Coverage 90.11% 90.16% +0.06%
==========================================
Files 40 40
Lines 2071 2083 +12
Branches 243 243
==========================================
+ Hits 1866 1878 +12
Misses 82 82
Partials 123 123 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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 client support for the Crowdin API's AI Translate Strings endpoint, enabling SDK-driven AI-powered string translation.
Changes
translateAiUserStrings(userId, request)on theAiclass —POST /users/{userId}/ai/translate/strings, following the existing verb-first naming convention (generateAiUser…,listAiUser…, etc.)AiModelnamespace:AiTranslateStringsRequest—projectId,languageId, optionalstringIds[]AiTranslateStringsAttribute— response shape mirroring the request fieldsUsage
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
crowdin.com/usr/bin/curl curl -s REDACTED(dns block)https://api.github.com//usr/bin/curl curl -s --max-time 5 REDACTED(http block)support.crowdin.com/home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js(dns block)/usr/bin/curl curl -s REDACTED(dns block)/usr/bin/curl curl -v REDACTED(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.