Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/yii2cr/yii3-i18njs

Yii2 i18n Javascript Extension. Support for translations from javascript using the native i18n component of Yii2.
https://github.com/yii2cr/yii3-i18njs

i18n javascript php7 yii2 yii2-extension

Last synced: 18 days ago
JSON representation

Yii2 i18n Javascript Extension. Support for translations from javascript using the native i18n component of Yii2.

Awesome Lists containing this project

README

        

Yii2 i18n Javascript Extension.
===============================
Yii2 i18n Javascript Extension. Support for translations from javascript using the native i18n component of Yii2.

Installation
------------

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist opencode506/yii2-i18njs "*"
```

or add

```
"opencode506/yii2-i18njs": "*"
```

to the require section of your `composer.json` file.

Usage
-----

Once the extension is installed, simply use it in your code by :

```php
= \opencode506\AutoloadExample::widget(); ?>```