Closed ellamdav closed 12 months ago
looks good to me, I guess the alternative would be the GDS convention of having translations provided to js stuff via data-i18n prefixed attributes data-i18n.assistive-hint="..."
https://github.com/alphagov/govuk-frontend/blob/4d13a759e4ffdea97309fde322eeb82087ac6e23/packages/govuk-frontend/src/govuk/macros/i18n.njk#L17-L21 but then we wouldn't have any welsh translations out of the box in hmrc-frontend, they would have to be in play-frontend-hmrc
data-language
is set tocy