Skip to content

feat/df-1063: Passes selected language to downstream systems#1248

Merged
jbarnsley10 merged 5 commits into
mainfrom
feat/df-1063-language
Jul 24, 2026
Merged

feat/df-1063: Passes selected language to downstream systems#1248
jbarnsley10 merged 5 commits into
mainfrom
feat/df-1063-language

Conversation

@jbarnsley10

@jbarnsley10 jbarnsley10 commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Passes selected language to downstream systems
Translates the Alpha/Beta banner if necessary

Needs a plugin bump when DEFRA/forms-engine-plugin#445 is merged

},
query: {},
app: { model }
} as unknown as FormRequest)

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.

👌

Comment thread src/server/services/outputService.ts Outdated
_emailAddress: string,
items: DetailItem[],
submitResponse: SubmitResponsePayload,
_language: string,

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.

rather than adding this as a parameter, you could make use of the request.server property? getPluginOptions(request.server).getLanguage(request)

Would have saved your sonar issue 😀

@sonarqubecloud

Copy link
Copy Markdown

@jbarnsley10
jbarnsley10 merged commit 3c340d2 into main Jul 24, 2026
10 checks passed
@jbarnsley10
jbarnsley10 deleted the feat/df-1063-language branch July 24, 2026 10:45
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.

3 participants