add i18n support

add i18n support
fix visit method not found in rspec