Skip to content

Clean up some outdated translation pages#3739

Merged
HiDeoo merged 2 commits intowithastro:mainfrom
HiDeoo:hd/clean-outdated-translations
Mar 6, 2026
Merged

Clean up some outdated translation pages#3739
HiDeoo merged 2 commits intowithastro:mainfrom
HiDeoo:hd/clean-outdated-translations

Conversation

@HiDeoo
Copy link
Copy Markdown
Member

@HiDeoo HiDeoo commented Mar 3, 2026

Description

This PR removes some outdated translation pages from the Starlight documentation.

The goal is not to remove any languages that the documentation is currently translated into, but instead identify, discuss, cherry-pick, and remove any translations that may be outdated and also potentially harmful to users.

This PR starts by focusing on languages that have not been updated in the past year. For such languages, various factors have been considered to identify potentially misleading translations, such as:

  • Breaking changes between Astro v4 → Astro v5 (and v6 around the corner)
  • Many Starlight changes over the past year, including route data migration and cascade layers support

Considering the above criteria, it seems that our guides and reference pages are the most likely to be inaccurate if they are outdated, e.g. by showing invalid examples, outdated syntax or options, etc. Some other pages, while outdated, may not be as much of a problem, for example:

  • Index page
  • 404 page
  • The environmental impact page
  • Any page in the "Resources" section

Based on the above, I've identified the following languages as potentially having outdated and harmful translations, and thus I have removed such translation pages in this PR:

Language Last update Translated pages Deleted pages
da 2023-12-17 2 1
hi 2024-08-09 11 8
id 2024-10-16 14 11
it 2024-08-16 20 14
pt-br 2024-06-20 20 14
pt-pt 2025-01-08 7 1
tr 2024-05-20 11 6

This PR is meant to be a starting point for discussion, so if you are using one of the above languages, or have contributed to some of the translations, please feel free to share your thoughts and feedback on this PR, and we can discuss it further.

I'd also like to note that if at any future point, anyone is motivated and would like to translate in the long run some of the deleted pages, they would be more than welcome to do so, and these deleted pages would still be available in the git history, so they can be easily used as a base for new translations (even though sometimes it may be easier to just start from scratch considering the amount of changes).

@netlify
Copy link
Copy Markdown

netlify bot commented Mar 3, 2026

Deploy Preview for astro-starlight ready!

Name Link
🔨 Latest commit 6a3213e
🔍 Latest deploy log https://app.netlify.com/projects/astro-starlight/deploys/69ab0a36e1ffea0008969342
😎 Deploy Preview https://deploy-preview-3739--astro-starlight.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 100 (no change from production)
Accessibility: 100 (no change from production)
Best Practices: 100 (no change from production)
SEO: 100 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Mar 3, 2026

⚠️ No Changeset found

Latest commit: 6a3213e

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@astrobot-houston
Copy link
Copy Markdown
Contributor

astrobot-houston commented Mar 3, 2026

Lunaria Status Overview

🌕 This pull request will trigger status changes.

Learn more

By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.

You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

Locale File Note
da guides/project-structure.mdx Localization removed, will be marked as missing.
hi guides/css-and-tailwind.mdx Localization removed, will be marked as missing.
hi guides/customization.mdx Localization removed, will be marked as missing.
hi guides/i18n.mdx Localization removed, will be marked as missing.
hi guides/overriding-components.md Localization removed, will be marked as missing.
hi guides/project-structure.mdx Localization removed, will be marked as missing.
hi guides/sidebar.mdx Localization removed, will be marked as missing.
hi guides/site-search.mdx Localization removed, will be marked as missing.
hi manual-setup.mdx Localization removed, will be marked as missing.
id guides/authoring-content.md Localization removed, will be marked as missing.
id guides/css-and-tailwind.mdx Localization removed, will be marked as missing.
id guides/customization.mdx Localization removed, will be marked as missing.
id guides/i18n.mdx Localization removed, will be marked as missing.
id guides/overriding-components.md Localization removed, will be marked as missing.
id guides/project-structure.mdx Localization removed, will be marked as missing.
id guides/sidebar.mdx Localization removed, will be marked as missing.
id guides/site-search.mdx Localization removed, will be marked as missing.
id manual-setup.mdx Localization removed, will be marked as missing.
id reference/configuration.mdx Localization removed, will be marked as missing.
id reference/frontmatter.md Localization removed, will be marked as missing.
it guides/authoring-content.md Localization removed, will be marked as missing.
it guides/css-and-tailwind.mdx Localization removed, will be marked as missing.
it guides/customization.mdx Localization removed, will be marked as missing.
it guides/i18n.mdx Localization removed, will be marked as missing.
it guides/overriding-components.mdx Localization removed, will be marked as missing.
it guides/pages.mdx Localization removed, will be marked as missing.
it guides/project-structure.mdx Localization removed, will be marked as missing.
it guides/sidebar.mdx Localization removed, will be marked as missing.
it guides/site-search.mdx Localization removed, will be marked as missing.
it manual-setup.mdx Localization removed, will be marked as missing.
it reference/configuration.mdx Localization removed, will be marked as missing.
it reference/frontmatter.md Localization removed, will be marked as missing.
it reference/overrides.md Localization removed, will be marked as missing.
it reference/plugins.md Localization removed, will be marked as missing.
pt-br guides/authoring-content.md Localization removed, will be marked as missing.
pt-br guides/css-and-tailwind.mdx Localization removed, will be marked as missing.
pt-br guides/customization.mdx Localization removed, will be marked as missing.
pt-br guides/i18n.mdx Localization removed, will be marked as missing.
pt-br guides/overriding-components.md Localization removed, will be marked as missing.
pt-br guides/pages.mdx Localization removed, will be marked as missing.
pt-br guides/project-structure.mdx Localization removed, will be marked as missing.
pt-br guides/sidebar.mdx Localization removed, will be marked as missing.
pt-br guides/site-search.mdx Localization removed, will be marked as missing.
pt-br manual-setup.mdx Localization removed, will be marked as missing.
pt-br reference/configuration.mdx Localization removed, will be marked as missing.
pt-br reference/frontmatter.md Localization removed, will be marked as missing.
pt-br reference/overrides.md Localization removed, will be marked as missing.
pt-br reference/plugins.md Localization removed, will be marked as missing.
pt-pt manual-setup.mdx Localization removed, will be marked as missing.
tr guides/authoring-content.md Localization removed, will be marked as missing.
tr guides/css-and-tailwind.mdx Localization removed, will be marked as missing.
tr guides/customization.mdx Localization removed, will be marked as missing.
tr guides/project-structure.mdx Localization removed, will be marked as missing.
tr guides/sidebar.mdx Localization removed, will be marked as missing.
tr manual-setup.mdx Localization removed, will be marked as missing.
Warnings reference
Icon Description
🔄️ The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.

@github-actions github-actions bot added i18n Anything to do with internationalization & translation efforts 📚 docs Documentation website changes labels Mar 3, 2026
@HiDeoo HiDeoo mentioned this pull request Mar 4, 2026
10 tasks
Copy link
Copy Markdown
Member

@delucis delucis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for cleaning this up @HiDeoo! I think this makes sense as a beginning.

We can also consider deleting some of these languages entirely if we want given we won’t have much beyond the basic landing page + 404. But this is a good start and we can discuss that in a follow-up PR.

Copy link
Copy Markdown
Member

@sarah11918 sarah11918 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is helpful! Outdated pages are not better than no pages at all. thank you Hideoo!

Copy link
Copy Markdown
Member

@ArmandPhilippot ArmandPhilippot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Didn't spotted any French files in there, so LGTM! 😄 Some cleaning makes sense!

@HiDeoo HiDeoo merged commit 623d881 into withastro:main Mar 6, 2026
16 checks passed
HiDeoo added a commit to HiDeoo/starlight that referenced this pull request Mar 9, 2026
* main:
  [ci] release (withastro#3727)
  Clean up some outdated translation pages (withastro#3739)
  i18n(fr): update `resources/themes.mdx` (withastro#3741)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

📚 docs Documentation website changes i18n Anything to do with internationalization & translation efforts

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants