qobo/cakephp-translations

Languages and translations plugin for CakePHP

Installs: 38 673

Dependents: 1

Suggesters: 0

Security: 0

Stars: 1

Watchers: 12

Forks: 0

Open Issues: 1

Type:cakephp-plugin


README

Build Status Latest Stable Version Total Downloads Latest Unstable Version License codecov BCH compliance

About

CakePHP 3+ plugin for managing content translations.

This plugin is developed by Qobo for Qobrix. It can be used as standalone CakePHP plugin, or as part of the project-template-cakephp installation.

Installation

You can install this plugin into your CakePHP application using composer.

The recommended way to install composer packages is:

composer require qobo/cakephp-translations

Run plugin's migration task:

bin/cake migrations migrate -p Translations

Setup

Load plugin

bin/cake plugin load --routes --bootstrap Translations

To load the Translations component in your application just add behavior Translate into your table initialization method:

public function initialize(array $config)
{
    $this->addBehavior('Translate');
}