diff --git a/src/localisation/index.ts b/src/localisation/index.ts index bf44f8c..65c5d60 100644 --- a/src/localisation/index.ts +++ b/src/localisation/index.ts @@ -4,8 +4,8 @@ import { LocaleKeys } from './types'; // Lazy loaders for locale const localeGetters: Record object> = { - en: () => require('./lang/en.json'), - fr: () => require('./lang/fr.json'), + en: () => require('./lang/en/locale.json'), + fr: () => require('./lang/fr/locale.json'), }; // Have RNLocalize pick the best locale from the languages on offer diff --git a/src/localisation/lang/en.json b/src/localisation/lang/en/locale.json similarity index 100% rename from src/localisation/lang/en.json rename to src/localisation/lang/en/locale.json diff --git a/src/localisation/lang/fr.json b/src/localisation/lang/fr/locale.json similarity index 100% rename from src/localisation/lang/fr.json rename to src/localisation/lang/fr/locale.json