Commit Graph

3 Commits

Author SHA1 Message Date
Stephen Zhou b50ff968f0
refactor: replace @iconify/tailwind with @egoist/tailwindcss-icons (#1154) 2023-12-16 15:17:57 +08:00
DIYgod 91aa185d1c
feat: use next-intl (#1026)
* feat: use next-intl

* feat: set next-intl localePrefix to never

* chore: add next-intl

* chore: fix lock file

* feat: use [locale]

* fix: the custom rewrite conflict with next-intl rewrite in middleware

* fix: getTranslations function name

* fix: remove comma in translation key

* fix: next-intl dev error

* feat: update tran text

* feat: transaction for about page

* feat: i18n for server components

* feat: i18n for client components

* feat: i18n for client components and provider

* feat: i18n for language switch

* feat: remove i18next

* feat: custom intl error, ignore MISSING_MESSAGE error

* feat: use useLocale

* fix: unstable_setRequestLocale for middleware error
2023-11-28 01:34:49 +08:00
Stephen Zhou 64909965e1
feat: language switch (#903) 2023-08-17 23:31:41 +01:00