Skip to content

Conversation

@kbangelov
Copy link
Contributor

Resolves

https://scratchfoundation.atlassian.net/browse/UEPR-454

Proposed Changes

added intl.formatMessage logic

@kbangelov kbangelov requested a review from a team as a code owner December 30, 2025 15:42
@kbangelov
Copy link
Contributor Author

The aria-labels don't seem to change after language switch, should be tested with a real screen reader.

@KManolov3
Copy link
Contributor

@kbangelov that makes sense, since they were just added as translation "objects" (and are not even yet pushed to Transifex -> they are not translated there) - hence the code has no reference point for those strings to draw from for other languages and it defaults to English. We can test that the translation logic works by manually modifying the translation files generated by scratch-l10n.

Copy link
Contributor

@KManolov3 KManolov3 left a comment

Choose a reason for hiding this comment

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

We should test the translated labels get picked up by a screen reader, but otherwise looks good to me 🙌

@kbangelov
Copy link
Contributor Author

I tested with custom german translations and it seemed to work fine.

@kbangelov kbangelov merged commit cffe176 into scratchfoundation:develop Jan 7, 2026
6 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Jan 7, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants