Skip to content
On this page

Localization

You can customize any text in banano's components:

  • For validation we use vee-validate, with it you can customize any validation message. We mostly use yup for validation rules, so you can use useLocale with something like yup-locales or your custom translations object. Check out yup's documentation on localization for more information.
  • You can modify other text elements, such as BnFileInput's placeholder and buttonText, by using their respective props. Currently, there is no way to change these props' default values globally, so you would have to change them in a per-instance basis.