change doc: you need to require i18n in order to use I18n object