This article discusses the following error returned while customizing the Okta Sign-in Widget i18n properties:
L10N_ERROR
- Sign-in Widget
- i18n properties
- login.properties
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";
- In this example, the "customauth.sign.in.with.label" property has been overridden and does not contain the expected {0} variable, which represents the name of the external identity provider:
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:
