We have several projects.
- A storybook as a component library.
- A platform app - our main app.
- A user portal - another side app.
- A React native app.
We are using transifex/native with transifex/react.
We have created separate projects in transifex for all the above.
Our main platform app uses the storybook. But we can only
init the transifex with one token and that is of this main app. So, our storybook components are not able to set-up the right token - as their token is of a separate project for it’s own storybook.
- I believe we should just have a single project on transifex for translation and use that across all apps.
- However, is there any way to solve this without giving up different projects in transifex?
App1 uses Storybook1 and we have separate projects of them in transifex.
We want to somehow access both App1 and Storybook1 resources in App1 project.
Let me know.
Why we are not using a single project:
We are using the purge feature - which removes any translation which is not present in the App1 when you push changes.
So, if we use a single project then we can’t use it anymore because the other translations are in the storybook. And when we use the push feature on the storybook then it will remove all the translations which are not on the storybook but front-end.
And we want to use purge because otherwise when we are going to add another language then we will be translating many unnecessary strings.
So, we got to find a way to use two transifex projects within one app.
Please help. Thanks.