Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Latest commit 9609ae4 Sep 28, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
build Add enum options to the CLI help Sep 26, 2018
docker Update Docker files Sep 26, 2018
docs-src Update links in services in documentation Sep 14, 2018
docs
src Add enum options to the CLI help Sep 26, 2018
.dockerignore
.env.dist
.gitignore Add reading env variables from .env.babelsheet Sep 14, 2018
.nsprc Restructured project Jun 5, 2018
.prettierrc
.travis.yml Add type-check, lint and nsp to travis, remove bitbucket pipeline Sep 10, 2018
README.md Update README.md Sep 28, 2018
docker-compose.yml.dist
mkdocs.yml
package-lock.json Update Docker files Sep 26, 2018
package.json 1.5.0 Sep 26, 2018
tsconfig.json Add no unused imports rule in tsconfig Aug 29, 2018
tsconfig.test.json Restructured project Jun 5, 2018
tslint.json

README.md

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

You can’t perform that action at this time.