added i18n, added hooks