chore(web-forms#825): allow for forms app translation in transifex - #1692
Merged
garethbowen merged 16 commits intoAug 10, 2026
Conversation
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes getodk/web-forms#825
Created as a draft so it's not merged until after release.
What has been done to verify that this works as intended?
Manual testing, and CI.
Why is this the best possible solution? Were any other approaches considered?
The other approach I attempted was to align with the process used in the web-forms package. It works using formatjs which is more lightweight than vue-intl. However it lacks the rich text feature because it doesn't precompile the locale, so couldn't handle HTML elements the app requires. I tried to add this functionality but it would have required either adding JIT compilation to central OR adding a compilation step to the package, either would add bloat just for a few messages in the forms app.
Ultimately because the forms and central app are being built with the same vite config it made more sense to align with the central approach (this PR).
How does this change impact users? Describe intentional behavior changes from code updates. What are the regression risks?
It shouldn't do. It means in future new and updated translations and locales can be added to transifex and updated in the forms app.
Does this change require updates to user documentation? If so, please file an issue here and include the link below.
No.