From 0963490f177608b64e60b8b257d9f3ef83eb1c83 Mon Sep 17 00:00:00 2001 From: Sam Becker Date: Wed, 14 May 2025 09:30:13 -0500 Subject: [PATCH] Refine i18n readme instructions --- .vscode/settings.json | 1 - README.md | 6 ++++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 3d169751..f041c11d 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -47,7 +47,6 @@ "ratelimit", "ratelimiter", "Reala", - "sconetto", "skippable", "sonner", "Streamable", diff --git a/README.md b/README.md index 96f5d10b..b792ebd6 100644 --- a/README.md +++ b/README.md @@ -257,7 +257,7 @@ Vercel Postgres can be switched to another Postgres-compatible, pooling provider 💬   I18N - -Partial internationalization (non-admin, user-facing text) provided for a handful of languages. Set your language by setting the environment variable `NEXT_PUBLIC_LOCALE`. If you'd like to add support for a new language, open a PR [using `US_EN`](https://github.com/sambecker/exif-photo-blog/blob/main/src/i18n/locales/us-en.ts) for reference. +Partial internationalization (for non-admin, user-facing text) provided for a handful of languages. Configure locale by setting environment variable `NEXT_PUBLIC_LOCALE`. ### Supported Languages - `US_EN` @@ -266,7 +266,9 @@ Partial internationalization (non-admin, user-facing text) provided for a handfu - `PT_PT` - `ID_ID` -Thank you ❤️ translators: [@sconetto](https://github.com/sconetto), [@brandnholl](https://github.com/brandnholl) +To add support for a new language, open a PR following instructions in [/src/i18n/index.ts](https://github.com/sambecker/exif-photo-blog/blob/main/src/i18n/index.ts), using [`US_EN`](https://github.com/sambecker/exif-photo-blog/blob/main/src/i18n/locales/us-en.ts) as reference. + +Thank you ❤️ translators: [@sconetto](https://github.com/sconetto) [@brandnholl](https://github.com/brandnholl) 📖  FAQ -