diff --git a/src/locale/index.ts b/src/locale/index.ts index 29d6f78..82c76b6 100644 --- a/src/locale/index.ts +++ b/src/locale/index.ts @@ -1,12 +1,10 @@ -import otaClient, { LanguageStrings } from "@crowdin/ota-client"; import i18next from "i18next"; +import otaClient, { LanguageStrings } from "@crowdin/ota-client"; + +import logger from "@logger"; const client = new otaClient("ffd2068395f215046cc01f8lfji"); -export interface translation { - [key: string]: string; -} - export default async () => { //load needed information from Crowdin distribution const languages = await client.listLanguages(); @@ -24,5 +22,5 @@ export default async () => { resources, }); //i18next now can be used to translate your application - console.log(i18next.store.data); + logger.silly(i18next.store.data); };