custom the i18n translation for prop placeholder, like {title} to 'identities.messages.1070002'
Preflight checklist
- [x] I could not find a solution in the existing issues, docs, nor discussions.
- [x] I agree to follow this project's Code of Conduct.
- [x] I have read and am following this repository's Contribution Guidelines.
- [ ] I have joined the Ory Community Slack.
- [ ] I am signed up to the Ory Security Patch Newsletter.
Ory Network Project
No response
Describe your problem
Issue: No way to internationalize form field titles in elements-react registration form
I’m using the registration form provided by @ory/elements-react. The form field titles are defined in the backend identity.schema.json, which only allows a single language.
However, I haven’t found a way to internationalize (i18n) these field titles when the form is rendered on the frontend. This makes it difficult to support multi-language UIs.
Is there any recommended approach or workaround to support translated titles in the rendered form?
Describe your ideal solution
Ideally, I’d like to be able to localize the form field titles using my frontend’s local i18n setup (e.g. i18next). Alternatively, if identity.schema.json could support multi-language title fields — such as language-specific keys or a built-in localization structure — that would also solve the issue.
Workarounds or alternatives
none workarounds yet.
Version
1.0.0-rc.5
Additional Context
No response