feat: implement internationalization (i18n) support

This commit is contained in:
radishzzz 2025-01-18 00:01:25 +00:00
parent 32ffec8480
commit d6c98880d3
17 changed files with 247 additions and 18 deletions

View file

@ -2,7 +2,7 @@
import Head from '@/components/Head.astro'
---
<html lang="zh-CN">
<html lang={Astro.currentLocale || 'en-US'}>
<head>
<Head />
</head>