Feature/fe implement internationalization i18n support for kyc submission form - #1246
Merged
Conversation
added 2 commits
July 24, 2026 22:34
… Submission Form
Add complete i18n translations for the KYC form module across English,
Spanish, and Portuguese locales. Extract hardcoded strings from the KYC
page into a client component with translation support.
- Add kycForm namespace with 40+ translation keys to en/es/pt messages
- Add kycPage namespace for the KYC page header and info section
- Update KycSubmissionForm to use useTranslations('kycForm') namespace
- Create KycPageContent client component for translated page content
- Update tests to work with i18n mock and AnimatePresence mode='wait'
|
Someone is attempting to deploy a commit to the Emmanuel's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
@Akatenvictor Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
Done. Here's a summary of the implementation:
Branch:
feature/fe-implement-internationalization-i18n-support-for-kyc-submission-formChanges made:
Translation files (
messages/en.json,messages/es.json,messages/pt.json):kycFormnamespace with 40+ keys covering all form labels, buttons, validation messages, step names, and success/error stateskycPagenamespace for the page header, description, and "Why KYC?" sectionKycSubmissionForm.tsx:
useTranslations("kycForm")namespace|| "fallback"patterns — translations are now the source of truthSTEP_STATUS_KEYSmap for translated step status labelsKycPageContent.tsx (new):
kyc/page.tsx:
KycPageContentclient componentKycSubmissionForm.test.tsx:
mode="wait"properlyCloses #1162
Closes #1163
Closes #1164
Closes #1165