Quick Start - RequireJS

Localize your RequireJS files with Localazy CLI.

Upload RequireJS files with strings to Localazy and manage your translations easily. Download translated files back.

1. Install Localazy CLI for your operating system.

2. Create a configuration file localazy.json in the root of your project. You can start with our sample:

{

  "writeKey": "your-write-key",
  "readKey": "your-read-key",
  
  "upload": {  
    "type": "json",
    "features": ["requirejs"],
    "files": "translations/en.json"         
  },
  
  "download": {
    "files": "translations/${lang}.json"
  }
  
}

3. Upload the source strings with localazy upload whenever you change them.

4. Download translated files with localazy download before building your app.


Support for RequireJS (requirejs feature) is a part of our configurable JSON parser. Learn more about all its features.

You can upload all your existing translations too! Learn more about it.


Localazy CLI is simple to start yet flexible enough for any project. Let’s take the quick tour.