https://supertokens.com/ logo
Title
a

AdiGutner

10/24/2022, 3:15 PM
Is it possible to have the button label not be all caps?
r

rp

10/24/2022, 3:17 PM
Hey! @porcellus can help here.
Checkout the language translation feature in the docs to change the text on the button to something else that’s non caps.
a

AdiGutner

10/25/2022, 7:16 AM
Can you please advise what is the label I need to overwrite? Tried this and didn't make a difference
languageTranslations: {
        translations: {
            en: {
                EMAIL_VERIFICATION_CONTINUE_BTN: continueButtonLabel,
                EMAIL_VERIFICATION_LINK_CLICKED_CONTINUE_BUTTON: continueButtonLabel,
            },
        },
    },
r

rp

10/25/2022, 7:23 AM
try the key
PWLESS_SIGN_IN_UP_CONTINUE_BUTTON
so something like:
ts
SuperTokens.init({
    appInfo: {
        ...
    },
    languageTranslations: {
        translations: {
            en: {
                PWLESS_SIGN_IN_UP_CONTINUE_BUTTON: "Custom text here"
            },
        },
    },
    recipeList: [...],
});
a

AdiGutner

10/25/2022, 8:29 AM
Worked, thanks!
r

rp

10/25/2022, 8:29 AM
nice