【发布时间】:2019-08-13 01:09:10
【问题描述】:
我在 vue.js 应用程序中使用 aws-amplify,想知道是否有办法检索本地化错误消息。 我试图做以下没有运气
setError: function(e) {
this.$Amplify.I18n.setLanguage("es");
this.errorMsg = this.$Amplify.I18n.get(e.message || e);
console.log(this.errorMsg);
}
【问题讨论】:
标签: amazon-cognito aws-amplify