Give locale file static name so Transifex is better at recognizing it
This commit is contained in:
@@ -4,8 +4,8 @@ import { LocaleKeys } from './types';
|
||||
|
||||
// Lazy loaders for locale
|
||||
const localeGetters: Record<string, () => 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
|
||||
|
||||
Reference in New Issue
Block a user