summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Jaime Gil Simões2024-02-16 22:17:13 +0000
committerGitHub2024-02-16 23:17:13 +0100
commit580078acd0b8a72524c3f25d83669a4e9c0e934a (patch)
tree36cf395e9991e1d53757b33bc9ce6cf3f8f6b813
parent7431e0bdb3a17956a2a5c5d400d8454f4cc63521 (diff)
downloadIT.starlight-580078acd0b8a72524c3f25d83669a4e9c0e934a.tar.gz
IT.starlight-580078acd0b8a72524c3f25d83669a4e9c0e934a.tar.bz2
IT.starlight-580078acd0b8a72524c3f25d83669a4e9c0e934a.zip
fix: "Adding a new Language" link points to new i18n guides (#1500)
-rw-r--r--CONTRIBUTING.md4
1 files 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 **<https://i18n.starlight.astro.build>** 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!