Force localization uising AuthJS SDK

we are developing an app intregartion using AuthJS SDK and the interaction flow (idx api, without the sign-in widget).
The error messages returned from Okta are localized using the browser language.
Is there a way to force a different language, overriding the browser one?
I have searched in the AuthJS configuration but didn’t find any related property.

Hello Ciao,

Okta provides i18n property files for the Okta Widget, but not for auth-js.

It might be beneficial to use the above properties in your own application.