qobo / cakephp-translations
Languages and translations plugin for CakePHP
Package info
github.com/QoboLtd/cakephp-translations
Language:JavaScript
Type:cakephp-plugin
pkg:composer/qobo/cakephp-translations
Requires
- cakephp/cakephp: ^3.8
- muffin/trash: ^2.1
Requires (Dev)
- qobo/cakephp-composer-dev: ^v1.0
This package is auto-updated.
Last update: 2023-04-29 00:44:56 UTC
README
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');
}