From e918f089e2a781be348da2c357c1bfc50ceb2be0 Mon Sep 17 00:00:00 2001 From: Lei Nelissen Date: Wed, 2 Dec 2020 20:35:46 +0100 Subject: [PATCH] Add Spanish locale as getter --- src/localisation/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/localisation/index.ts b/src/localisation/index.ts index 646b7a4..a3f7276 100644 --- a/src/localisation/index.ts +++ b/src/localisation/index.ts @@ -7,6 +7,7 @@ const localeGetters: Record object> = { en: () => require('./lang/en/locale.json'), fr: () => require('./lang/fr/locale.json'), nl: () => require('./lang/nl/locale.json'), + es: () => require('./lang/es/locale.json'), }; // Have RNLocalize pick the best locale from the languages on offer