i18n for view messages

This pull request moves view messages to locale file.