diff options
Diffstat (limited to 'packages/website/ts/utils/translate.ts')
-rw-r--r-- | packages/website/ts/utils/translate.ts | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/packages/website/ts/utils/translate.ts b/packages/website/ts/utils/translate.ts index 524a22c12..5148e48ad 100644 --- a/packages/website/ts/utils/translate.ts +++ b/packages/website/ts/utils/translate.ts @@ -1,11 +1,12 @@ import * as _ from 'lodash'; -import { chinese } from 'ts/translations/chinese'; -import { english } from 'ts/translations/english'; -import { korean } from 'ts/translations/korean'; -import { russian } from 'ts/translations/russian'; -import { spanish } from 'ts/translations/spanish'; import { Deco, Key, Language } from 'ts/types'; +import * as chinese from '../../translations/chinese.json'; +import * as english from '../../translations/english.json'; +import * as korean from '../../translations/korean.json'; +import * as russian from '../../translations/russian.json'; +import * as spanish from '../../translations/spanish.json'; + const languageToTranslations = { [Language.English]: english, [Language.Spanish]: spanish, |