Instead of reinventing wheel in #4797, #4884, #5547, we should use the [MessageFormatter](http://www.php.net/manual/en/class.messageformatter.php) class. Read more: - http://userguide.icu-project.org/formatparse/messages - http://www.zyxist.com/en/archives/134 - https://github.com/auraphp/Aura.Intl/blob/develop/src/Aura/Intl/IntlFormatter.php - https://github.com/yiisoft/yii2/blob/master/framework/i18n/MessageFormatter.php