The Cosmic Herald

¡AuthRocket habla Español!

July 19, 2021

AuthRocket now features Spanish language support for user-facing areas, including LoginRocket and the various default emails (password resets, failed logins, and the like).

screenshot_106

Generated emails may now be customized for English and Spanish separately.

Additionally, the last-selected locale is now available as part of the User record and in JWT login tokens. Apps that provide their own login forms may also store the current locale on the User record so that emails are generated appropriately.

POST /v2/users/test@example.com/authenticate
Accept-Language: es

The AuthRocket Core API adds localization using the standard HTTP Accept-Language header. This will cause all returned error messages to be localized, ready for display to users. See our localization documentation for more.

Please reach out if you have any questions!