From 580078acd0b8a72524c3f25d83669a4e9c0e934a Mon Sep 17 00:00:00 2001 From: Ricardo Jaime Gil Simões Date: Fri, 16 Feb 2024 22:17:13 +0000 Subject: fix: "Adding a new Language" link points to new i18n guides (#1500) --- CONTRIBUTING.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index eb6a4201..bfd299ac 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -214,13 +214,13 @@ Visit **** to track translation progress for #### Adding a new language to Starlight’s docs -To add a language, you will need its BCP-47 tag and a label. See [“Adding a new language”](https://github.com/withastro/docs/blob/main/contributor-guides/translating-astro-docs.md#adding-a-new-language) in the Astro docs repo for some helpful tips around choosing these. +To add a language, you will need its BCP-47 tag and a label. See [“Adding a new language”](https://contribute.docs.astro.build/guides/i18n/#adding-a-new-language) in the Astro docs repo for some helpful tips around choosing these. - Add your language to the `locales` config in `docs/astro.config.mjs` - Add your language to the `locales` config in `docs/lunaria.config.json` - Add your language’s subtag to the i18n label config in `.github/labeler.yml` - Add your language to the `pa11y` script’s `--sitemap-exclude` flag in `package.json` -- Create the first translated page for your language. +- Create the first translated page for your language. This must be the Starlight landing page: `docs/src/content/docs/{language}/index.mdx`. - Open a pull request on GitHub to add your changes to Starlight! -- cgit