cds-snc / cds-snc/platform-forms-client
Country list does not switch when form language is toggled [AddressComplete]
- Dominant language
- TypeScript
- Stars
- 46
- Forks
- 16
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 91
Description
## Context
https://cds-snc.freshdesk.com/a/tickets/29627
> Confusingly enough, if the form builder is set to English and the form is previewed in French, then the country list is in English.
## Screenshot
## Steps to recreate
1. Go to a form with address
2. Switch languages from English to French
3. Notice how the country list remains in English
## Related
#7742
#7709
#7787
Contributor guide
Research direction
Reproduce the issue in a form with an address by switching the preview language from English to French, then trace the language-toggle and country-list entry points. Done means the country list updates to French when the form is previewed in French, including when the builder remains set to English.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nextjs, typescript
- Domain
- frontend, localization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100