support messages.xx as resource files for i18n