ory / elements

Ory Elements is a component library that makes building login, registration and account pages for Ory a breeze. Check out the components library on Chromatic https://www.chromatic.com/library?appId=63b58e306cfd32348fa48d50
https://ory.sh
Apache License 2.0
84 stars 41 forks source link

Translation / Add support for custom translations in @ory/elements-markup #166

Open veteran29 opened 8 months ago

veteran29 commented 8 months ago

Preflight checklist

Ory Network Project

No response

Describe your problem

We're deploying self-hosted Ory Kratos, to speed up the project we've used the node self-serve UI from Ory. During the implementation we've found out that unlike to its React counterpart you can't pass customTranslations to @ory/elements-markup components.

Describe your ideal solution

Addition of customTranslations parameter to elements-markup component-wrapper intl provider.

Workarounds or alternatives

I don't see other viable alternative.

Version

0.1.0-beta.11

Additional Context

No response

Benehiko commented 7 months ago

Yes, you're right. We've only added the custom language support recently.

PRs are welcome!