Download the PHP package omcrn/yii2-i18ncontent without Composer
On this page you can find all versions of the php package omcrn/yii2-i18ncontent. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download omcrn/yii2-i18ncontent
More information about omcrn/yii2-i18ncontent
Files in omcrn/yii2-i18ncontent
Download omcrn/yii2-i18ncontent
More information about omcrn/yii2-i18ncontent
Files in omcrn/yii2-i18ncontent
Vendor omcrn
Package yii2-i18ncontent
Short Description Show text widgets, pages, articles in chosen language
License
Package yii2-i18ncontent
Short Description Show text widgets, pages, articles in chosen language
License
Please rate this library. Is it a good library?
Informations about the package yii2-i18ncontent
i18n content module for Yii2 framework
yii2-i18ncontent is yii2 module for creating several types of contents in different languages. It support creating the following contents:
- Translatable article categories and articles
- Translatable Pages
- Carousels with translatable caption texts
- Translatable portions of text.
- Menu contents (Non translatable yet)
Installation
- Run
composer require omcrn/yii2-i18ncontent
or add"omcrn/yii2-i18ncontent": "~2.0.0"
in your projectscomposer.json
. - Make sure you have
user
table in your database with primary keyid
. - Run migrations to create tables by
php console/yii migrate --migrationPath=@yii/i18n/migrations
from projects root directory - Run migrations to create tables by
php console/yii migrate --migrationPath=@vendor/omcrn/yii2-i18ncontent/migrations
from projects root directory
Configuration
Add the following code in projects configuration file under modules
section
Add the following code in project's configuration file under components
section
Add availableLocales
array to application configuration params
array.
For each language listed here tab will be displayed to provide content.
Urls for administration
Append the following urls to the domain to see administration pages
Content | Url |
---|---|
Article categories | i18ncontent/article-category/index |
Articles | i18ncontent/article/index |
Pages | i18ncontent/page/index |
Text widgets | i18ncontent/widget-text/index |
Carousels | i18ncontent/widget-carousel/index |
Menus | i18ncontent/widget-menu/index |
All versions of yii2-i18ncontent with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.4.0
yiisoft/yii2 Version ~2.0.0
omcrn/yii2-imperavi-redactor Version ^0.0.4
trntv/yii2-datetime-widget Version ^1.0.0
trntv/yii2-file-kit Version ^1.0.0
trntv/yii2-aceeditor Version ^2.0
omcrn/yii2-base Version ~0.2
wbraganca/yii2-tagsinput Version ^1.0
yiisoft/yii2 Version ~2.0.0
omcrn/yii2-imperavi-redactor Version ^0.0.4
trntv/yii2-datetime-widget Version ^1.0.0
trntv/yii2-file-kit Version ^1.0.0
trntv/yii2-aceeditor Version ^2.0
omcrn/yii2-base Version ~0.2
wbraganca/yii2-tagsinput Version ^1.0
The package omcrn/yii2-i18ncontent contains the following files
Loading the files please wait ....