Skip to content

Align translations on conversation, ticket and ticket reply parts in Preview - #739

Merged
yasser-aboelgheit-intercom merged 1 commit into
mainfrom
yasser/preview-translations
Oct 21, 2026
Merged

yasser-aboelgheit-intercom merged 1 commit into
mainfrom
yasser/preview-translations

Conversation

@yasser-aboelgheit-intercom

Copy link
Copy Markdown
Contributor

Why?

The translations map on Preview conversation parts, ticket parts and ticket replies requires an original key but never declares it, so the SDKs have no typed field for it. The descriptions also say the field is Preview-only and that body always stays in the source language, and neither is true.

How?

All three maps now declare original as an optional string and share one corrected description, and every example uses the same locale.

Notes for reviewers
  • original is no longer required, because the API leaves it out when the source locale is unknown.
  • The field ships from 2.16, so the description now says so instead of "Preview only".
  • SDKs: translations becomes an object with an optional original plus extra string keys. fern check: 0 errors.

Generated with Claude Code

…Preview

Declare the original key on every translations map, stop marking it as
required (it is omitted when the source locale is unknown), note that the
field is available from API version 2.16, and use French in every example.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@yasser-aboelgheit-intercom
yasser-aboelgheit-intercom merged commit 41b66d7 into main Oct 21, 2026
4 checks passed
@yasser-aboelgheit-intercom
yasser-aboelgheit-intercom deleted the yasser/preview-translations branch October 21, 2026 12:56
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.

2 participants