feat(i18n): add internationalization support
This commit introduces internationalization (i18n) support by integrating the `@nuxtjs/i18n` module. It configures English (en) and Simplified Chinese (zh-CN) locales, adds a language selector to the header, and internationalizes the index page content using translation files.
This commit is contained in:
5
i18n/locales/zh-CN/index.json
Normal file
5
i18n/locales/zh-CN/index.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"index": {
|
||||
"trustedBy": "全球有超过 {count} 用户信赖"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user