SDK's
Typescript
TS SDK
Installing
Once you have already added your config file and your translation fallback file you can generate your .ts files by running:
If you want to upload it to servers already you can just run after:
This will send your translations to the repository specified in your config file, upserting languages and strings from your file.
Somewhere in your app (we recommend inside main function) you’ll need to setup the sdk, you can do so by adding:
You just need to call .fetch() if you want to use the over-the-air feature, otherwise you can just use raw translator object
Getting translations
When you get strings which takes arguments you add it as a function arg, and the same is applied to plural strings: