This feature is available starting from the Pro plan.

Use this app if you serve static content including your language files from a Google Cloud Storage bucket.

Prerequisites

First of all, you'll need to generate a Google service account key (in JSON format). We highly recommend creating and using a separate service account key JSON for this app. Follow the instructions on how to create service account credentials.

Also you'll need to create a bucket to upload your files to.

Setup

Open your Lokalise project and proceed to Apps:

Find Google Cloud Storage in the list, click on it and then press Install.

You'll need to specify Service account key JSON, Project ID, and Bucket name:

Optionally, provide the directory prefix.

Once you are ready, click Save configuration.

Usage

As the app is set up, you can trigger it with each file export. 

Web dashboard

Proceed to the Download page and enable the Google Storage checkbox in the App triggers section:

Then simply click Build and download or Build only.

CLI tool

A CLI version 0.47 or higher is required to use this app. Provide the --triggers=gcs parameter when running the file download command.


API

Add the 'gcs' option to the triggers param when sending the Download files request.

Did this answer your question?