PHPackages                             dereuromark/cakephp-transifex - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Localization &amp; i18n](/categories/localization)
4. /
5. dereuromark/cakephp-transifex

Abandoned → [dereuromark/cakephp-translate](/?search=dereuromark%2Fcakephp-translate)ArchivedCakephp-plugin[Localization &amp; i18n](/categories/localization)

dereuromark/cakephp-transifex
=============================

The Transifex plugin allows you to pull translations from Transifex Translation API.

2.0.0(7y ago)148.0k4MITPHPPHP &gt;=5.6

Since Dec 4Pushed 1y ago1 watchersCompare

[ Source](https://github.com/dereuromark/cakephp-transifex)[ Packagist](https://packagist.org/packages/dereuromark/cakephp-transifex)[ Docs](http://github.com/dereuromark/cakephp-transifex)[ RSS](/packages/dereuromark-cakephp-transifex/feed)WikiDiscussions master Synced yesterday

READMEChangelog (4)Dependencies (2)Versions (6)Used By (0)

CakePHP Transifex Plugin
========================

[](#cakephp-transifex-plugin)

[![Build Status](https://camo.githubusercontent.com/47976c5872b25964201fa9c236f00d6057c950b18ef61c8a24f4936eeddd39e1/68747470733a2f2f6170692e7472617669732d63692e636f6d2f6465726575726f6d61726b2f63616b657068702d7472616e73696665782e737667)](https://travis-ci.com/dereuromark/cakephp-transifex)[![Coverage Status](https://camo.githubusercontent.com/365e428dc91594cf83368845b254ea58444ac95ab487d5650723eeecbac29d65/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f6465726575726f6d61726b2f63616b657068702d7472616e73696665782f6d61737465722e737667)](https://codecov.io/github/dereuromark/cakephp-transifex?branch=master)[![Minimum PHP Version](https://camo.githubusercontent.com/e97290c4047b8fc1152177fc8110cab416f31f18159b722b6b633a210a198861/687474703a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230352e362d3838393242462e737667)](https://php.net/)[![License](https://camo.githubusercontent.com/8d55b952bd7993c74df3c6724ab9e5bbb87fb082523e31d477ef0c01d2661586/68747470733a2f2f706f7365722e707567782e6f72672f6465726575726f6d61726b2f63616b657068702d7472616e73696665782f6c6963656e73652e706e67)](https://packagist.org/packages/dereuromark/cakephp-transifex)[![Total Downloads](https://camo.githubusercontent.com/530639b42d774097f8e65eeb5e8f69b2a23484da7db2aaab4d3890c47e49c927/68747470733a2f2f706f7365722e707567782e6f72672f6465726575726f6d61726b2f63616b657068702d7472616e73696665782f642f746f74616c2e706e67)](https://packagist.org/packages/dereuromark/cakephp-transifex)[![Coding Standards](https://camo.githubusercontent.com/dbabe22710e675cb88cd0b12196f1477e2376dea497332775692cf1359a75918/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f63732d5053522d2d322d2d522d79656c6c6f772e737667)](https://github.com/php-fig-rectified/fig-rectified-standards)

A CakePHP 3.x plugin that works with [Transifex](https://www.transifex.com/) and pulls/pushes translations. It uses the [Transifex API v2](http://docs.transifex.com/developer/api/).

⚠️ Package Abandoned
--------------------

[](#️-package-abandoned)

**This package is no longer maintained.**

If you're using it, consider switching to [dereuromark/cakephp-translate](https://github.com/dereuromark/cakephp-translate), or fork and maintain it yourself.

Installation
------------

[](#installation)

Installing the plugin is pretty much as with every other CakePHP plugin.

- `composer require dereuromark/cakephp-transifex`
- Make sure you have `Plugin::load('Transifex')` or `Plugin::loadAll()` in your bootstrap

Create an account at transifex.com and create/join a project and resources.

Put the information regarding project, user and password in your config file or your bootstrap

```
$config['Transifex'] = [
	'project' => 'cakephp',
	'user' => '...',
	'password' => '...'
];
```

That's it. It should be up and running.

Usage
-----

[](#usage)

To get a list of supported resources for the current project:

```
cake Transifex.Transifex resources

```

To get a list of supported languages:

```
cake Transifex.Transifex languages

```

Statistics for a resource can be gathered using

```
cake Transifex.Transifex statistics

```

To actually update your Locale folder, use

```
cake Transifex.Transifex pull

```

It will prompt for language and resource (use `*` to import all).

A shortcut to import a specific language for a specific resource, you can also use

```
cake Transifex.Transifex pull -l {language} -r {resource}

```

The PO files will be stored in `src/Locale/{locale}/LC_MESSAGES/{resource}.po`. Using version control is highly recommended to quickly overview and confirm the changes made.

### Advanced usage

[](#advanced-usage)

You can pull reviewed translations only using `--reviewed-only` or `-R`:

```
cake Transifex.Transifex pull -R

```

To pull locales for a plugin you need to set `--plugin` or `-p`:

```
cake Transifex.Transifex pull -p Tools

```

They will then be stored in the plugin's Locale folder.

If you happen to have one primary project and several other (plugin or CakePHP core) projects, you can overwrite the config project setting using `--project` or `-P`:

```
cake Transifex.Transifex pull -P cakephp

```

Tip: If you want to dry-run it first, use `-d -v`. This will not modify your locale files but simulate the import.

### Tips

[](#tips)

You can use the auto-alias of `Transifex.Transifex` which is `Transifex` - or even a super-short `t`using [custom aliasing](http://api.cakephp.org/3.0/class-Cake.Console.ShellDispatcher.html#_alias).

### Debugging

[](#debugging)

Use `--debug` to have more verbose debugging output when pushing via cURL.

### Testing

[](#testing)

When testing `--debug` enables live test mode and uses the actual API instead of mocking and fake JSON response files. Make sure you provide valid credentials in your `tests/bootstrap.php` for this. Also make sure those are not your live credentials to avoid data loss. You should use a dedicated test account here to be sure.

TODO
----

[](#todo)

- More tests

Disclaimer
----------

[](#disclaimer)

Use at your own risk. Please provide any fixes or enhancements via issue or better pull request.

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 50% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~380 days

Total

5

Last Release

2657d ago

Major Versions

1.2.0 → 2.x-dev2015-05-19

PHP version history (3 changes)1.0.0PHP &gt;=5.3.0

1.2.0PHP &gt;=5.4

2.0.0PHP &gt;=5.6

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/39854?v=4)[Mark Scherer](/maintainers/dereuromark)[@dereuromark](https://github.com/dereuromark)

---

Top Contributors

[![dereuromark](https://avatars.githubusercontent.com/u/39854?v=4)](https://github.com/dereuromark "dereuromark (13 commits)")[![Zuluru](https://avatars.githubusercontent.com/u/514172?v=4)](https://github.com/Zuluru "Zuluru (8 commits)")[![jrbasso](https://avatars.githubusercontent.com/u/26548?v=4)](https://github.com/jrbasso "jrbasso (4 commits)")[![beinbm](https://avatars.githubusercontent.com/u/995872?v=4)](https://github.com/beinbm "beinbm (1 commits)")

### Embed Badge

![Health badge](/badges/dereuromark-cakephp-transifex/health.svg)

```
[![Health](https://phpackages.com/badges/dereuromark-cakephp-transifex/health.svg)](https://phpackages.com/packages/dereuromark-cakephp-transifex)
```

###  Alternatives

[symfony/translation

Provides tools to internationalize your application

6.6k836.5M2.1k](/packages/symfony-translation)[nesbot/carbon

An API extension for DateTime that supports 281 different languages.

169661.4M4.8k](/packages/nesbot-carbon)[joedixon/laravel-translation

A tool for managing all of your Laravel translations

717911.4k11](/packages/joedixon-laravel-translation)[illuminate/translation

The Illuminate Translation package.

6936.4M495](/packages/illuminate-translation)[larswiegers/laravel-translations-checker

Make sure your laravel translations are checked and are included in all languages.

256423.2k2](/packages/larswiegers-laravel-translations-checker)[jrbasso/cake_ptbr

Repositório com arquivos para deixar seu Cake falando português.

917.3k1](/packages/jrbasso-cake-ptbr)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
