How to fix time lag rendering when switching language?

Yama-Tomo
0
Yama-Tomo
commented a year ago

relate #129

  • version 5.4.4

  • nuxt.config.js

{
  locales: ['en', 'ja'],
  strategy: 'prefix',
  parsePages: false,
  defaultLocale: 'en',
  vueI18n: {
    messages: {
      en: {
        hellow_world: 'Hello world!'
      },
      ja: {
        hellow_world: 'こんにちは世界!'
      },
    }
  }
}

I have a problem when switching language.

see bellow example

4WJJvEaCAI.gif

There is a time lag in the rendering of i18n contents and main contents

I expect rendering of synchronization

How do I fix it?

0
Informations
QuestionUnresolved
#c164 - Created a year ago