https://supertokens.com/ logo
#general
Title
# general
r

rene2u9

04/17/2022, 10:42 AM
Hi, first of all great software, i migrated from keycloack and i love how straight forward supertokens setup is! I want to translate the the header, buttons and links and got kind of stuck i searched in the documentation and found: https://supertokens.com/docs/thirdparty/common-customizations/translations and https://supertokens.com/docs/emailpassword/common-customizations/signin-form/changing-field-labels i was able to change the formfield labels but struggle to find button and link texts.. do i need to use overrides? or is there a better way?
r

rp

04/17/2022, 12:56 PM
Hey @User
Can you point out which button and which link text?
r

rene2u9

04/17/2022, 1:40 PM
the sign in button text as well as the links to sing up.
r

rp

04/17/2022, 1:41 PM
Which recipe?
r

rene2u9

04/17/2022, 1:41 PM
thirdpartyemailpassword
do they differ?
r

rp

04/17/2022, 1:43 PM
Do they differ from?
r

rene2u9

04/17/2022, 1:43 PM
from button component text overrides
r

rp

04/17/2022, 1:45 PM
And in that file, you can see that the values are being imported from emailpassword and thirdparty recipe. The sign in button text can be found in the emailpassword recipe: https://github.com/supertokens/supertokens-auth-react/blob/master/lib/ts/recipe/emailpassword/components/themes/translations.ts
EMAIL_PASSWORD_SIGN_IN_SUBMIT_BTN
EMAIL_PASSWORD_SIGN_UP_SUBMIT_BTN
r

rene2u9

04/17/2022, 1:48 PM
nicethank you a lot
and keep up the good work 🙏
2 Views