eugenec138 / cakephp-translations
Languages and translations plugin for CakePHP
Installs: 8
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:cakephp-plugin
Requires
- eugenec138/cakephp-utils: ^1.0.3
Requires (Dev)
- cakephp/cakephp-codesniffer: ^3.0
- phpunit/phpunit: ^5.0
This package is not auto-updated.
Last update: 2025-01-09 21:37:25 UTC
README
About
CakePHP 3+ plugin for managing content translations.
Developed by Qobo, used in Qobrix.
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');
}