update path to sources directory and locales
This commit is contained in:
parent
0cc67c7899
commit
2e5624e756
|
@ -1,3 +1,3 @@
|
|||
files:
|
||||
- source: /src/i18n/sources/**/*.json
|
||||
translation: /src/i18n/resources/%two_letters_code%/**/%original_file_name%
|
||||
- source: /src/i18n/source/**/*.json
|
||||
translation: /src/i18n/locales/%two_letters_code%/**/%original_file_name%
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
import i18n from 'i18next';
|
||||
import { initReactI18next } from 'react-i18next';
|
||||
|
||||
import resources from './resources';
|
||||
import resources from './locales';
|
||||
|
||||
const languages = [
|
||||
{
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
import en from './en';
|
||||
import kn from './kn';
|
||||
|
||||
export default {
|
||||
en,
|
||||
kn,
|
||||
};
|
Loading…
Reference in New Issue