Documentation section

Quick Start - PHP

Localize your PHP app easily with Localazy CLI.

Upload PHP 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": "php",
    "files": "translations/strings.php"         
  },
  
  "download": {
    "files": "translations/${lang}.php"
  }
  
}

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

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


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.