opencode506 / yii2-i18njs
Yii2 i18n Javascript Extension. Support for translations from javascript using the native i18n component of Yii2.
Installs: 5
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- yiisoft/yii2: ~2.0.0
This package is not auto-updated.
Last update: 2024-06-06 01:01:01 UTC
README
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.
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 :
<?= \opencode506\AutoloadExample::widget(); ?>```