Skip to main content

Universal

You can download desired files from: https://github.com/translized/translized-cli

  1. Download translate.rb from universal folder and put it to root folder of you project.
  2. Open Terminal and navigate to root folder of your project.
  3. Run command:
ruby translate.rb [projectId] [api-token] [fileFormat] [destination]
info
  • projectId is ID of your project and can be found inside your project's settings. (Translized App > Your Project > Settings)
  • api-token is your API token (user/account bound) and can be found inside your API settings. (Translized App > Account > API Settings)
  • fileFormat is format of file you want. Supported file formats for now are: xlsx, csv, xml, strings, properties, json and xlf.
    • destination is path to the folder where files will be downloaded. Files will be in format {locale}.{fileFormat}. Make sure that destination folder exists.
      • Example: /{destination}/en.json