Vadim Kalaida

Results 7 comments of Vadim Kalaida

Там робот не нашел папку functions и файл index.html, потому что я звернул папку functions в папку geekhub1 ![Screenshot_2](https://user-images.githubusercontent.com/44207160/97778678-743fc700-1b81-11eb-8fbe-ca022641b46b.jpg) --------------------------------------------- Я удалил папку geekhub1 и вытащил оттуда functions.

> Hello! Thanks for reporting. Can you please share more about your stack? Are you using Tolgee JS SDK? Hello! Thank you for your reply. We use Tolgee i18n library...

Here is some demonstration: https://github.com/tolgee/tolgee-js/assets/44207160/2fcb4ea8-254c-4125-8f7a-311eac964d89

We are using Tolgee Cloud, but we are planning to move to Self-hosted version in the near future. File with translations are downloaded during the building process of production

During the building process of production the translations are fetched using this command: `"cd public/i18n && curl https://app.tolgee.io/v2/projects/export -H \"X-API-Key: ${VITE_TOLGEE_API_KEY}\" | jar xv && cd ../.."`

> Hey, could you also share the Tolgee initialization? ``` const tolgee = Tolgee() .use(DevTools()) .use(FormatIcu()) .use(BackendFetch()) .init({ language: getLanguage(), fallbackLanguage: "en", apiUrl: import.meta.env.VITE_TOLGEE_API_URL, apiKey: import.meta.env.VITE_TOLGEE_API_KEY, }) ```

> Any updates @vadimkalaida? Just moved from hosted Tolgee, and everything seems fine now