如何在 react-intl 中使用数组字符串?

Mo.*_*Mo. 6 javascript translation internationalization reactjs react-intl

是否有任何选项可以显示从数组字符串的翻译?

"app.components.TeaserContent.kooy":["your personal selection.", "outfits styled for you.", "new favourite items.", "your new wardrobe."]
Run Code Online (Sandbox Code Playgroud)

为了

import { defineMessages } from 'react-intl'
export default defineMessages({
  typeText: {
    id: 'app.components.TeaserContent.kooy',
    default: 'dfgdfgdf'
  },

console.log(intl.formatMessage({ ...messages.typeText }))
Run Code Online (Sandbox Code Playgroud)

并在控制台中出现与问题相同的错误

截图 2019-01-18 at 2 48 43 pm