Locale Sync home page
Search...
⌘K
Support
Dashboard
Dashboard
Search...
Navigation
SDK's
Commands
Documentation
API Reference
Get Started
Introduction
Config file
Translation fallback
SDK's
Commands
Flutter
Typescript
Server Side
Web Hooks
On this page
Init
Gen
Upload
Download
Sync
SDK's
Commands
SDK commands
The way you can call our sdk through different languages may vary but the commands will be pretty much the same:
Init
Adds an empty
localesync.config.json
file and a ‘hello world’
translation_fallback.json
Gen
Generates your language files from your
translation_fallback.json
Upload
Uploads your
translation_fallback.json
content to the server, upserting all languages and strings
Download
Downloads a
translation_fallback.json
from server, overriding your current file, it will contain the data from the server and all downloaded strings will be in the object format
Sync
It calls upload, download and gen, following this order. It can be helpful on CI/CD pipelines, but be careful with possible overridings
Translation fallback
Flutter
Assistant
Responses are generated using AI and may contain mistakes.