翻译豆

  • 可以通过翻译变量
  • 包含函数有关的使用i18n翻译机制。例如:
    • $ {translation.getMessage (client.defined.translation)}“client.defined.message”键返回消息使用当前的语言环境。
    • $ {translation.getDefaultLocale ()}返回默认的语言环境。