All Projects → TheSoftwareHouse → babelsheet-js

TheSoftwareHouse / babelsheet-js

Licence: MIT license
No description, website, or topics provided.

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language
Dockerfile
14818 projects

Babelsheet Build Status

Babelsheet node service allows you to translate all of the UI / app content to specific language. As a user interface we use google spreadsheets and translations are synchronised every 5 minutes. This service contains a scheduler to synchronise translations, a web server allowing you to fetch them, and a CLI tools which can generate translations in various formats. What's more there is a cache layer for better performance. Babelsheet supports formats:

  • iOS
  • Android
  • json
  • yml

No more dealing with complicated paid translation services or problems with multiple users working at the same time!

Setup

CLI

  1. Create .env.babelsheet from .env.dist file with required environment variables (more info here)
  2. Run npm i -g babelsheet
  3. babelsheet generate (more info here)

Docker

  1. Create .env.babelsheet from .env.dist file with required environment variables (more info here)
  2. Create docker-compose.yml from docker-compose.yml.dist (more info here)
  3. docker-compose up

Example usage

CLI

babelsheet generate --format ios --path ./translations - generates translations in iOS format in ./translations folder.

API

curl -X GET -g 'http://localhost:3000/translations?filters[]=en_US.CORE.LABELS&format=android' - endpoint which returns filtered translations in android format

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].