Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 1.15 KB

File metadata and controls

15 lines (11 loc) · 1.15 KB

L10N/I18N/Bring Your Own Copy

(Almost*) Every string in our pre-built UI, both B2C and B2B, is fully customizable using standard Android string resources. If you wish to replace, localize, internationalize, or otherwise customize any of the copy, all you need to do is create a string resource in your application that overrides one of our built-in strings.

For example, our B2C UI has a default main screen title that says "Sign up or log in". If you want to change that, you can just define a string resource like so:

<string name="stytch_b2c_main_screen_title">My Custom Title</string>

And voila: Example of custom copy in the Stytch B2C pre-built UI

If you want to add localization/internationalization to your app, just create a strings resource file (with your desired qualifiers) and provide the appropriate translations.

You can find all of our strings here.

If you find that you need more granular control than what is currently provided, please open a GitHub issue or submit a pull request describing your use case. We’re happy to review and add additional keys as needed.