Skip to content

fix(download): fall back to English for outdated snippets - #9366

Open
dttgc wants to merge 1 commit into
nodejs:mainfrom
dttgc:fix/download-snippet-fallback
Open

dttgc wants to merge 1 commit into
nodejs:mainfrom
dttgc:fix/download-snippet-fallback

Conversation

@dttgc

@dttgc dttgc commented Dec 2, 2026

Copy link
Copy Markdown

Description

I tried to install it following instructions from a Korean-language site, but it failed—it turned out the commands weren't the most up-to-date ones.

English-Language Site

image

Korean-Language Site

image

This change falls back to the English version when a translated script is outdated.

Validation

  • Used Codex to check all download snippets across the 14 enabled locales. Of the 144 translated snippets, 84 kept their translations and 60 used the English fallback.

Korean-Language Site After the Changes

{BA18A297-4C68-4B78-A3FB-35639ABFD01C}

Check List

  • I have read the Contributing Guidelines and made commit messages that follow the guideline.
  • I have run pnpm format to ensure the code follows the style guide.
  • I have run pnpm test to check if all tests are passing.
  • I have run pnpm build to check if the website builds without errors.
  • I've covered new added functionality with unit tests if necessary.

@dttgc
dttgc requested a review from a team as a code owner December 2, 2026 06:16
@vercel

vercel Bot commented Dec 2, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
nodejs-org Ready Ready Preview Dec 2, 2026 6:17am UTC

Request Review

This branch was successfully deployed

1 active deployment
Preview — 1d3c7d74 Deployed Dec 2, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant