Before getting started, you'll want to follow the CakePHP documentation and internationalize your website. Once you've done this, there will be at least one source file under a path that looks like myapp/locale/en/LC_MESSAGES/default.po, assuming English is your source language.

The source file will be the foundation for setting up the Transifex Client, which lets you send and receive files over Transifex's REST API. In order to set up your Transifex Client configuration, you first need a project in Transifex and the Transifex Client installed .

After finishing all the steps above, follow the set of commands below to set up your repository configuration in a file called .tx/config. In this example, we named our project in Transifex mytxproject.

$ git clone
$ cd myapp
$ tx init
$ tx add \
    --file-filter=locale/<lang>/LC_MESSAGES/default.po \
    --type=PO \
    --organization=organization-1 \
    --project=mytxproject \
    --resource=defaultpo \

You should commit the .tx/config file to your repository so the next time you want to push new source content, follow the instructions of your framework to generate your source files and simply use the following command:

$ tx push -s