Refresh problem of nuxt + i18n language switching

nuxt + i18n uses cookies to save the language configuration, how to return the corresponding language pack document when refreshing? What I am writing by default is that cn, manually sets cookie to en, page refresh will appear first cn, and then switch to en, has a jitter process

want to achieve an effect similar to Aliyun"s official website

Jun.10,2021

use the usage recommended by official documents


i18n needs to be registered on the VUE root instance. There is no root instance in nuxt'. How do you set it?


have you solved your problem

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e4788d-44c39.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e4788d-44c39.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?