We would like to request multi-language support for the /analyze endpoint in Timefold Platform, allowing constraint violation descriptions and related message fields to be returned in a configurable language.
Currently, the constraint violation explanations and message texts are returned in English only. For production systems used by non-English-speaking users, this creates a usability barrier when presenting analysis results directly in user interfaces.
Proposed Enhancement
Add support for localized output from /analyze, where message text and constraint violation explanations can be returned in a requested language.
Possible approaches:
Option A — Request Language Parameter
Allow clients to specify a language via:
HTTP header (preferred):
  • Accept-Language: da-DK
or query parameter:
  • /analyze?lang=da
The endpoint would then return localized messages when translations exist.
Option B — Message Keys
Return stable message keys and parameters alongside the message text, allowing either server-side or client-side localization using language templates mapped to those keys.
We would be happy to assist by providing a Danish translation template as an initial contribution.