added i18n support, this resolves #3