From f385fb2d4665722a39d262ca3a5722b92d773d5a Mon Sep 17 00:00:00 2001 From: Harminder Virk Date: Wed, 13 Oct 2021 20:06:00 +0530 Subject: [PATCH] refactor: add supportedLocales config option and comment out by default --- templates/i18n.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/templates/i18n.txt b/templates/i18n.txt index 135f5b6..c49f0fb 100644 --- a/templates/i18n.txt +++ b/templates/i18n.txt @@ -39,6 +39,18 @@ const i18nConfig: I18nConfig = { */ defaultLocale: 'en', + /* + |-------------------------------------------------------------------------- + | Supported locales + |-------------------------------------------------------------------------- + | + | Optionally define an array of locales that your application supports. If + | not defined, we will derive this value from the translations stored + | inside the `resources/lang` directory. + | + */ + // supportedLocales: [], + /* |-------------------------------------------------------------------------- | Report missing validation messages