update path to sources directory and locales

This commit is contained in:
Amruth Pillai
2020-03-30 17:47:54 +05:30
parent 0cc67c7899
commit 2e5624e756
24 changed files with 3 additions and 5 deletions

View File

@ -1,3 +1,3 @@
files: files:
- source: /src/i18n/sources/**/*.json - source: /src/i18n/source/**/*.json
translation: /src/i18n/resources/%two_letters_code%/**/%original_file_name% translation: /src/i18n/locales/%two_letters_code%/**/%original_file_name%

View File

@ -1,7 +1,7 @@
import i18n from 'i18next'; import i18n from 'i18next';
import { initReactI18next } from 'react-i18next'; import { initReactI18next } from 'react-i18next';
import resources from './resources'; import resources from './locales';
const languages = [ const languages = [
{ {

View File

@ -1,7 +1,5 @@
import en from './en'; import en from './en';
import kn from './kn';
export default { export default {
en, en,
kn,
}; };