Add Spanish locale as getter

This commit is contained in:
Lei Nelissen
2020-12-02 20:35:46 +01:00
parent 491f019fb3
commit e918f089e2

View File

@@ -7,6 +7,7 @@ const localeGetters: Record<string, () => 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