refactoring intl messages loading
composer