PHPackages                             imsamurai/cakephp-localization - 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. imsamurai/cakephp-localization

ActiveCakephp-plugin[Localization &amp; i18n](/categories/localization)

imsamurai/cakephp-localization
==============================

Plugin for handle localization of CakePHP application

1.0.2(11y ago)013MITPHP

Since Oct 20Pushed 11y ago1 watchersCompare

[ Source](https://github.com/imsamurai/CakePHP-Localization-Plugin)[ Packagist](https://packagist.org/packages/imsamurai/cakephp-localization)[ Docs](http://github.com/imsamurai/CakePHP-Localization-Plugin)[ RSS](/packages/imsamurai-cakephp-localization/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependencies (2)Versions (4)Used By (0)

API Documentation
-----------------

[](#api-documentation)

Check out [Localization API Documentation](http://imsamurai.github.io/CakePHP-Localization-Plugin/docs/master/)

Abstract
--------

[](#abstract)

[![Build Status](https://camo.githubusercontent.com/3a47641de0f7527e8fc88e602e1ad67d98f0d00f3adb9a52bf8773f795a1cd08/68747470733a2f2f7472617669732d63692e6f72672f696d73616d757261692f43616b655048502d4c6f63616c697a6174696f6e2d506c7567696e2e706e67)](https://travis-ci.org/imsamurai/CakePHP-Localization-Plugin) [![Coverage Status](https://camo.githubusercontent.com/ae72cd79a4a6f09b2343b0b3bc0b4e9e0b8c2169184824c453c3ed84268e9429/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f696d73616d757261692f43616b655048502d4c6f63616c697a6174696f6e2d506c7567696e2f62616467652e706e673f6272616e63683d6d6173746572)](https://coveralls.io/r/imsamurai/CakePHP-Localization-Plugin?branch=master) [![Latest Stable Version](https://camo.githubusercontent.com/e40c29a1bbe3a58d44f6be7191f8aab889e1dbf8c65ddaa73842c69d63130456/68747470733a2f2f706f7365722e707567782e6f72672f696d73616d757261692f63616b657068702d6c6f63616c697a6174696f6e2f762f737461626c652e706e67)](https://packagist.org/packages/imsamurai/cakephp-localization) [![Total Downloads](https://camo.githubusercontent.com/2fc314e4c2217a53408e1f0a1247b50a7afd14b9fc14c87bec26b853ad09c8bf/68747470733a2f2f706f7365722e707567782e6f72672f696d73616d757261692f63616b657068702d6c6f63616c697a6174696f6e2f646f776e6c6f6164732e706e67)](https://packagist.org/packages/imsamurai/cakephp-localization) [![Latest Unstable Version](https://camo.githubusercontent.com/af26c789f243c2b4a91ee3b9469d7a780ddcfb395b548e9be3fdadb70d9c2f88/68747470733a2f2f706f7365722e707567782e6f72672f696d73616d757261692f63616b657068702d6c6f63616c697a6174696f6e2f762f756e737461626c652e706e67)](https://packagist.org/packages/imsamurai/cakephp-localization) [![License](https://camo.githubusercontent.com/6d67bdbc35e114eaf70b3c5ee449204585b52c3bd561925a69a04082168bd2a7/68747470733a2f2f706f7365722e707567782e6f72672f696d73616d757261692f63616b657068702d6c6f63616c697a6174696f6e2f6c6963656e73652e706e67)](https://packagist.org/packages/imsamurai/cakephp-localization)

Coordinator for any checker scripts. With this plugin you can unify periodic checkers for some of your services/data/etc, get mail in case of failure, store checker logs in DB.

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

[](#installation)

```
cd my_cake_app/app
git clone git://github.com/imsamurai/CakePHP-Localization-Plugin.git Plugin/Localization

```

or if you use git add as submodule:

```
cd my_cake_app
git submodule add "git://github.com/imsamurai/CakePHP-Localization-Plugin.git" "app/Plugin/Localization"

```

then add plugin loading in Config/bootstrap.php

```
CakePlugin::load('Localization', array('bootstrap' => true, 'routes' => true));

```

add tables from `Config/Schema/localization.sql` and configure datasource `localization`

Plugin requires squizlabs/php\_codesniffer": "~1" for tokenize javascript

Configuration
-------------

[](#configuration)

Write global config if you need to change plugin config (see plugin bootstrap.php)

Usage
-----

[](#usage)

Use `Localization` model for manage localization variables in DB. Plugin works with `__*` style functions, also in javascript. Inline javascript are not supported (only \*.js files). For php export from db will create/replace files in `app/Locale/*` and for js in `webroot/js/Locale/*` (you can change this in config, see bootstrap.php of the plugin). Just open `example.com/localization` for edit/translate/export to db

For import/update all messages that used with `__*` functions (in php and js) use:

```
Console/cake Localization.messages extract --output db

```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~2 days

Total

3

Last Release

4224d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ab9b1bb43e8563f1ff3fd78cb0bf0b28b55026a9f792f2b26aefae882e1512d2?d=identicon)[imsamurai](/maintainers/imsamurai)

---

Top Contributors

[![imsamurai](https://avatars.githubusercontent.com/u/843002?v=4)](https://github.com/imsamurai "imsamurai (4 commits)")

---

Tags

pluginlocalizationlanguagecakephp

### Embed Badge

![Health badge](/badges/imsamurai-cakephp-localization/health.svg)

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

###  Alternatives

[aplus/language

Aplus Framework Language Library

2351.7M15](/packages/aplus-language)[opgginc/codezero-laravel-localized-routes

A convenient way to set up, manage and use localized routes in a Laravel app.

2770.1k1](/packages/opgginc-codezero-laravel-localized-routes)[jrmajor/fluent

Fluent localization system for PHP

2716.9k5](/packages/jrmajor-fluent)[zachleigh/laravel-lang-bundler

Create Laravel translations bundles.

2512.5k](/packages/zachleigh-laravel-lang-bundler)[michele-angioni/multi-language

A Laravel package to handle multi language localization.

116.5k1](/packages/michele-angioni-multi-language)[tigrov/yii2-country

Country data for Yii2 using Intl extension and more.

151.1k](/packages/tigrov-yii2-country)

PHPackages © 2026

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