Khalid Al-Mutawa
Khalid Al-Mutawa

Reputation: 869

Yii2 Internationalization component automatic translation?

I just installed Internationalization component on my application for Arabic language.

I didn't translate any of the validation messages but they are appearing translated when I use the app? Where is it getting these translations from? Can I change these translations?

Upvotes: 1

Views: 219

Answers (1)

ScaisEdge
ScaisEdge

Reputation: 133400

Translations are under

vendor/yiisoft/yii2/messages

To learn how Yii2 support internationalization may worthwhile this link:

http://www.yiiframework.com/doc-2.0/guide-tutorial-i18n.html

Upvotes: 1

Related Questions