Skip to content

✨ feature: machine translation contract for organization.about (be#1407) - #368

Merged
arturasmckwcz merged 1 commit into
mainfrom
1407-organization-about-translation
Nov 20, 2026
Merged

arturasmckwcz merged 1 commit into
mainfrom
1407-organization-about-translation

Conversation

@arturasmckwcz

Copy link
Copy Markdown
Collaborator

Contract for need4deed-org/be#1407: a Träger's about is machine-translated, in the same way as an opportunity's title and info.

  • EntityTableName.ORGANIZATION = "organization".
  • TranslationFieldsByEntity[ORGANIZATION] = "about". The /translation review endpoints therefore accept organization as an entity type, with field about.
  • ApiOrganizationGet.originalLanguage?: Lang, the language about was typed in (like ApiOpportunityGetList.originalLanguage).
  • ApiOrganizationPatch.originalLanguage?: Lang corrects a detected original language (like ApiOpportunityPatch.originalLanguage).

GET /organization/:id?language=<lang> returns about in that language when a translation is done, following the same language query convention as opportunities.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@arturasmckwcz arturasmckwcz self-assigned this Nov 20, 2026

@need4deed need4deed left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@arturasmckwcz
arturasmckwcz merged commit 2d8833a into main Nov 20, 2026
1 check passed
@arturasmckwcz
arturasmckwcz deleted the 1407-organization-about-translation branch November 20, 2026 17:12
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