当前位置: 首页 > 知识库问答 >
问题:

i18next - Nuxt3 用 i18n 控制台提示这个是什么意思?

太叔乐家
2023-09-14
[intlify] the message that is resolve with key 'menu') is not supported for jit compilation[intlify] the message that is resolve with key 'toggleNavigation') is not supported for jit compilation[intlify] the message that is resolve with key 'blogMenu') is not supported for jit compilation[intlify] the message that is resolve with key 'search') is not supported for jit compilation[intlify] the message that is resolve with key 'aboutMe') is not supported for jit compilation[intlify] the message that is resolve with key 'menu') is not supported for jit compilation[intlify] the message that is resolve with key 'toggleNavigation') is not supported for jit compilation[intlify] the message that is resolve with key 'blogMenu') is not supported for jit compilation[intlify] the message that is resolve with key 'search') is not supported for jit compilation[intlify] the message that is resolve with key 'aboutMe') is not supported for jit compilation[intlify] the message that is resolve with key 'home') is not supported for jit compilation[intlify] the message that is resolve with key 'readMore') is not supported for jit compilation[intlify] the message that is resolve with key 'readMore') is not supported for jit compilation[intlify] the message that is resolve with key 'readMore') is not supported for jit compilation[intlify] the message that is resolve with key 'readMore') is not supported for jit compilation[intlify] the message that is resolve with key 'readMore') is not supported for jit compilation[intlify] the message that is resolve with key 'readMore') is not supported for jit compilation[intlify] the message that is resolve with key 'readMore') is not supported for jit compilation[intlify] the message that is resolve with key 'readMore') is not supported for jit compilation[intlify] the message that is resolve with key 'readMore') is not supported for jit compilation[intlify] the message that is resolve with key 'readMore') is not supported for jit compilation[intlify] the message that is resolve with key 'home') is not supported for jit compilation[intlify] the message that is resolve with key 'readMore') is not supported for jit compilation[intlify] the message that is resolve with key 'readMore') is not supported for jit compilation[intlify] the message that is resolve with key 'readMore') is not supported for jit compilation[intlify] the message that is resolve with key 'readMore') is not supported for jit compilation[intlify] the message that is resolve with key 'search') is not supported for jit compilation[intlify] the message that is resolve with key 'categories') is not supported for jit compilation[intlify] the message that is resolve with key 'recentPosts') is not supported for jit compilation[intlify] the message that is resolve with key 'subscribe') is not supported for jit compilation[intlify] the message that is resolve with key 'followOurLatestNews') is not supported for jit compilation[intlify] the message that is resolve with key 'enterYourEmailAddress') is not supported for jit compilation[intlify] the message that is resolve with key 'other') is not supported for jit compilation[intlify] the message that is resolve with key 'login') is not supported for jit compilation[intlify] the message that is resolve with key 'register') is not supported for jit compilation

共有2个答案

陈霄
2023-09-14

@nuxtjs/i18n 的 bug,升级到最新版吧。

https://github.com/nuxt-modules/i18n/issues/2394
宰父焕
2023-09-14

这些提示来自于 i18n(国际化)模块,关于 "message that is resolve with key xxx is not supported for jit compilation" 的含义是,i18n 在 JIT(即时编译)编译期间无法解析这些键对应的消息。可能的原因是,这些消息键在编译期间无法被正确地解析,导致无法找到对应的翻译文本。这可能是由于配置问题、语法错误或其他问题导致的。

要解决这个问题,你可以检查以下几点:

  • 确保 i18n 配置正确,包括消息文件的路径和格式,以及默认语言设置。
  • 确保消息文件中包含这些消息键的翻译文本。
  • 检查代码中是否正确使用了这些消息键,比如使用正确的键名、在正确的位置调用了翻译函数等。

如果上述步骤都没有解决问题,那可能需要详细查看你的代码和配置,以更进一步地分析和解决该错误。

 类似资料:
  • 我运行了几个测试场景,其中我从SOAP客户端调用远程系统的SOA服务,并遇到了各种远程异常。你能帮我确定每个错误意味着什么吗- 1) java.net网站。ConnectException:连接被拒绝“ 2)Java . net . socket time out异常:连接超时" 3) 连接异常: 连接超时”

  • 问题内容: 我是Go的新手,在浏览其他一些线程时遇到了以下代码行: 含义是什么?它是否指定将在if条件中分配某些内容(因为err似乎正在发生这种情况)?我在Wiki上找不到这种语法的示例,并且我很好奇它的用途。 问题答案: 因为返回两个值,所以如果需要它们中的任何一个,都必须在某个地方接收这些值。该是一个占位符,基本的意思是“我不关心这个特殊的返回值。” 在这里,我们只关心检查错误,而无需对实际的

  • 问题内容: 我试图从E3roid示例运行示例。除了我什么时候,我都会在页面上强行关闭。这是logcat错误。通过查看它,您能否告诉我这意味着什么,什么问题? 问题答案: 您是否已将AndroidActivity添加到AndroidManifest?

  • 我注意到写作是完全合法的 但我不清楚它的语义。它实际上做什么?我希望它的意思是“X是一个类的名称,但我们将使用它作为接口”,但我注意到您可以这样写: 这意味着实现X并没有添加它。那么它又增加了什么呢?

  • 问题内容: 这个头衔看起来并不那么疯狂。我承诺!! 在研究另一个问题时,我在Stack Overflow的样式表中注意到以下内容: 这是一种奇怪的条件样式吗?这是一个错误吗?假设这不是一个错误,那么它适用于所有IE版本吗?有没有一种方法可以指定给定规则仅适用于大于(例如7)的IE版本? 我以前从未遇到过-我一直在使用条件注释来表示IE特定的样式(以及其价值,我宁愿将所有IE特定样式完全分开)。 问

  • 问题内容: 这是什么? 这是不时出现的关于JavaScript语法的问题的集合。这也是社区Wiki, 因此邀请所有人参与维护此列表。 为什么是这样? 堆栈溢出不允许搜索特定字符。结果,在搜索运算符和其他语法标记时,不容易找到许多问题。这也使得关闭重复项变得更加困难。下面的列表可以帮助解决此问题。 主要思想是链接到Stack Overflow上的现有问题,因此我们更容易引用它们,而不是复制ECMAS