<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D54z0000AE6jNoCQJOkta Classic EngineAdministrationAnswered2025-10-27T09:00:35.000Z2024-08-22T09:28:23.000Z2024-09-19T17:38:57.000Z

dye4h (dye4h) asked a question.

Okta Sign-in Widget: Trying to update the message using i18n for Languages

I am trying to update the message on the Okta Sign-in Widget for English and Spanish language. For this, I have used the below code on the Custom Domain Login Page source code.

 

var config = OktaUtil.getSignInWidgetConfig();

if (config.i18n.en){

config.i18n.en["oie.select.authenticators.enroll.subtitle.custom"] = "Security methods help protect your account by ensuring only you have access."

}

if (config.i18n.es) {

config.i18n.es["oie.select.authenticators.enroll.subtitle.custom"] = "Los métodos de seguridad ayudan a proteger su cuenta garantizando que solo usted tenga acceso."

}

 

After saving the above code and publish, when I try to run the use it gives me the below error on UI.

L10N_ERROR[oie.select.authenticators.enroll.subtitle.custom]

Image is not available
 

Please help on this.


  • Hi @dye4h (dye4h)​ , Thank you for reaching out to the Okta Community! 

     

    Based on the documentation , you might have to try something like this:

     

    i18n: {

     'en': {

      'oie.select.authenticators.enroll.subtitle.custom': 'Security methods help protect your account by ensuring only you have access.'

     },

     'es': {

      'oie.select.authenticators.enroll.subtitle.custom': 'Los métodos de seguridad ayudan a proteger su cuenta garantizando que solo usted tenga acceso.'

     }

    }

     

     

    If my answer helped, remember to mark it as best to increase its visibility for other members of the Okta Community who might have the same questions as you. 

     

    Hope my answer helps! 

     

    --

    Ask Us Anything thru 9/3 Okta’s New MFA Requirement for Admin Console Access

    Expand Post
    Selected as Best
  • Hi @dye4h (dye4h)​ , Thank you for reaching out to the Okta Community! 

     

    Based on the documentation , you might have to try something like this:

     

    i18n: {

     'en': {

      'oie.select.authenticators.enroll.subtitle.custom': 'Security methods help protect your account by ensuring only you have access.'

     },

     'es': {

      'oie.select.authenticators.enroll.subtitle.custom': 'Los métodos de seguridad ayudan a proteger su cuenta garantizando que solo usted tenga acceso.'

     }

    }

     

     

    If my answer helped, remember to mark it as best to increase its visibility for other members of the Okta Community who might have the same questions as you. 

     

    Hope my answer helps! 

     

    --

    Ask Us Anything thru 9/3 Okta’s New MFA Requirement for Admin Console Access

    Expand Post
    Selected as Best
This question is closed.
Loading
Okta Sign-in Widget: Trying to update the message using i18n for Languages