JSON & YAML Messages for Yii
Translate your application using structured catalogs
Unlike traditional message sources, like
yii\i18n\DbMessageSource, a JSON/YAML message source let you share your translations with your frontend application, and even use nesting.
Install the latest version of JSON & YAML Messages for Yii with Composer:
composer require cedx/yii2-json-messages
For detailed instructions, see the installation guide.