Skip to content

Add support for styleGuideIds in AI Translation methods #387

Closed

Description

@crowdin-bot

The Crowdin API exposes an optional styleGuideIds field on the AI Translation request bodies in both Crowdin and Crowdin Enterprise. It is an array of Style Guide identifiers used as context during AI translation. API client libraries should expose styleGuideIds on these requests so consumers can pass style guides via the SDK.

Affected endpoints:

  • AI Translate Strings — api.users.ai.translate.strings.post (Enterprise: api.ai.translate.strings.post)
  • AI File Translation — api.users.ai.file-translations.post (Enterprise: api.ai.file-translations.post)

References:

Activity

  1. self-assigned this
    on Sep 1, 2026
  2. 77cjj commented on Sep 5, 2026

    @77cjj

    Hi! I would like to work on this. I plan to add optional styleGuideIds support to both AI strings translation and AI file translation request models, cover Crowdin and Enterprise call paths through the shared models, and add focused serialization/model tests. I will keep the change backward-compatible and run the project test suite before opening the PR.

  3. 77cjj commented on Sep 5, 2026

    @77cjj

    Update after checking the latest master: this appears to have just landed in #379 (feat: add styleGuideIds to AI Translation requests). Both request models and API mock fixtures/tests already cover the field, so I will not open a duplicate PR. Maintainers can likely close this issue as completed by #379. I am stepping back from it.

  4. andrii-bodnar commented on Sep 5, 2026

    @andrii-bodnar
    Member

    @77cjj Thanks for looking into this! The same issue was created by mistake.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions