<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
L10N_ERROR while Customizing i18n Properties
Okta Classic Engine
Okta Identity Engine
SDKs & Libraries
Overview

This article discusses the following error returned while customizing the Okta Sign-in Widget i18n properties:

 

L10N_ERROR

 

Applies To
Cause

The L10N_ERROR is caused when an Okta Sign-in Widget i18n property that contains a variable (such as {0}, {1}) is overridden and that variable is not included in the modified text.

config.i18n.en['customauth.sign.in.with.label'] = "Override";

L10N_ERROR

 

 

Solution

To avoid this error when overriding the text for any of the i18n properties that contain a variable, the modified text for the variable must still include that variable. 

config.i18n.en['customauth.sign.in.with.label'] = "Override {0}";
  • In this example, the same property has been changed, but includes the {0} variable:

Override OIDC Provider

Loading
L10N_ERROR while Customizing i18n Properties