Download the PHP package umbalaconmeogia/yii2-i18nui without Composer

On this page you can find all versions of the php package umbalaconmeogia/yii2-i18nui. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package yii2-i18nui

GUI for editing i18n translation in database.

For more about internationalization in yii2, see the guide.

This is inspired by wokster/yii2-translation-manage.

Edit composer.json

Run

or add "umbalaconmeogia/yii2-i18nui": "*" to composer.json then run composer update

Edit config

Add to modules in config

Config i18n like:

Run yii2 migration

To add database tables to store i18n data, run migration

Access to translation manager

Select language

This module contains some function to set language for your yii2 application.

  1. To change language, add the config below into your web config (config/web.php or frontend/config/main.php)

  2. To add link to change config, use /i18nui/default/set-language. For example, add to menu

Import message data from CSV

To import i18n data from CSV, run command

while i18n.csv is created as bellow (the first row is the header, with the first key is category, the second key is message, follow by language codes) category message ja vi
app house nhà
app home 家庭 gia đình

Add language related menu items

Add menu items as sub-menu

Add language related menu as sub menu items on menu bar.

Add menu items as sub-sub-menu

Add language related menu as an item of sub menu on menu bar.

Use kartik-v/yii2-nav-x to display sub-sub-menu easily.

Use another Message, SourceMessage classes

If you want to use your own Message, SourceMessage classes, define them and declared in configuration of i18nui.

For example.

Config

Class frontent\models\NewMessage


All versions of yii2-i18nui with dependencies

PHP Build Version
Package Version
Requires yiisoft/yii2 Version >=2.0.6
umbalaconmeogia/yii2-batsg Version *
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package umbalaconmeogia/yii2-i18nui contains the following files

Loading the files please wait ....