diff --git a/README.md b/README.md index b792ebd6..863b1881 100644 --- a/README.md +++ b/README.md @@ -268,7 +268,7 @@ Partial internationalization (for non-admin, user-facing text) provided for a ha 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) +Thank you ❤️ translators: [@sconetto](https://github.com/sconetto) (`pt-br`, `pt-pt`), [@brandnholl](https://github.com/brandnholl) (`id-id`) 📖  FAQ - diff --git a/src/i18n/index.ts b/src/i18n/index.ts index e85b54ae..02cf5d66 100644 --- a/src/i18n/index.ts +++ b/src/i18n/index.ts @@ -10,10 +10,11 @@ export type I18NDeepPartial = { /** * Translation steps for contributors: - * 1. Create new file in the `src/i18n/locales` modeled on `us-en.ts`. + * 1. Create new file in `src/i18n/locales` modeled on `us-en.ts`. * 2. Add import to `localeTextImports` * 3. Add date-fn locale to `getDateFnLocale` - * 4. Add translation credit to `README.md` if desired + * 4. Test locally + * 5. Add translation/credit to `README.md` Supported Languages */ const localeTextImports: Record<