Skip to content
This repository was archived by the owner on Jul 13, 2026. It is now read-only.

Add i18n 3rd party lib support - #5

Open
garth wants to merge 1 commit into
nowsecure:masterfrom
garth:i18n
Open

Add i18n 3rd party lib support#5
garth wants to merge 1 commit into
nowsecure:masterfrom
garth:i18n

Conversation

@garth

@garth garth commented Aug 12, 2015

Copy link
Copy Markdown

Instead of guessing the error numbers (which are not guaranteed to be constant between different js interpreters), this change allows a { i18nErrorKeys: true } config option to be supplied which then replaces the English error messages with keys that can be used together with 3rd party i18n translation libraries.

The default behaviour remains unchanged and should not affect existing implementations.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant