intlify / intlify/nuxt3

Nuxt 3 Generate - The message format compilation is not supported in this build

Open
#80 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
204
Forks
18
PR merge metrics
No merged PRs in 30d

Description

I am generating a static Nuxt 3 build but I am getting the following warning in my console

` WARN [intlify] The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return 'message.header'.`

I am using adding "@intlify/nuxt3" to nuxt modules with the intlify object and some messages.

I am rendering the translations as follows: `{{ $t("mainLayout.header") }}`

Any ideas what is causing this?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.