# Force localization uising AuthJS SDK

**URL:** <https://devforum.okta.com/t/force-localization-uising-authjs-sdk/21682>\
**Category:** OAuth/OIDC\
**Created:** [August 26, 2022, 9:19am UTC](https://devforum.okta.com/t/force-localization-uising-authjs-sdk/21682 "2022-08-26T09:19:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![davgrana](https://avatars.discourse-cdn.com/v4/letter/d/aca169/32.png) [@davgrana](https://devforum.okta.com/u/davgrana)\
**Post date:** [August 26, 2022, 9:19am UTC](https://devforum.okta.com/t/force-localization-uising-authjs-sdk/21682/1 "2022-08-26T09:19:50Z")

</div>

Hi,  
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.  
Thanks!  
Ciao

---

<div class="post-metadata">

**Author:** ![erik](https://avatars.discourse-cdn.com/v4/letter/e/b5ac83/32.png) [@erik](https://devforum.okta.com/u/erik)\
**Post date:** [August 30, 2022, 10:53pm UTC](https://devforum.okta.com/t/force-localization-uising-authjs-sdk/21682/2 "2022-08-30T22:53:40Z")

</div>

Hello Ciao,

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

> **[okta-signin-widget/packages/@okta/i18n/src/properties at master ·...](https://github.com/okta/okta-signin-widget/tree/master/packages/%40okta/i18n/src/properties)**
>
> master/packages/%40okta/i18n/src/properties

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

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/oktadev/original/1X/589c4c5f80de422d01f47cee7185a7fb8227835c.png) [@system](https://devforum.okta.com/u/system)\
**Post date:** [February 13, 2024, 1:01am UTC](https://devforum.okta.com/t/force-localization-uising-authjs-sdk/21682/3 "2024-02-13T01:01:33Z")

</div>

Closed on February 13, 2024, 1:01am UTC

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.
