Skip to content

feat(ai): add AI Translate Strings method support#250

Merged
andrii-bodnar merged 1 commit into
mainfrom
feature/issue-237_add-ai-translate-strings
May 31, 2026
Merged

feat(ai): add AI Translate Strings method support#250
andrii-bodnar merged 1 commit into
mainfrom
feature/issue-237_add-ai-translate-strings

Conversation

@innomaxx
Copy link
Copy Markdown
Collaborator

Closes #237

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds SDK support for Crowdin’s AI Translate Strings endpoint for both regular and Enterprise API clients, addressing issue #237.

Changes:

  • Adds AiTranslateStringsRequest request typing.
  • Adds translate_ai_strings methods to AIResource and EnterpriseAIResource.
  • Adds unit coverage for both endpoint variants with minimal and full request payloads.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
crowdin_api/api_resources/ai/types.py Defines the request payload shape for AI string translation.
crowdin_api/api_resources/ai/resource.py Adds regular and Enterprise resource methods that call the new translate endpoint.
crowdin_api/api_resources/ai/tests/test_ai_resources.py Adds tests verifying request paths and payload forwarding for both clients.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@andrii-bodnar andrii-bodnar merged commit 56046cf into main May 31, 2026
7 checks passed
@andrii-bodnar andrii-bodnar deleted the feature/issue-237_add-ai-translate-strings branch May 31, 2026 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for AI Translate Strings method

3 participants