Skip to content

feat(i18n): add Vietnamese (vi) language support — docs.github.com/vi - #46469

Closed
Dennis-nham wants to merge 5 commits into
github:mainfrom
Dennis-nham:feat/add-vietnamese-language
Closed

Dennis-nham wants to merge 5 commits into
github:mainfrom
Dennis-nham:feat/add-vietnamese-language

Conversation

@Dennis-nham

@Dennis-nham Dennis-nham commented Oct 25, 2026 •

Copy link
Copy Markdown

🇻🇳 Proposal: Add Vietnamese Language Support to GitHub Docs

Submitter: NHAM QUOC HUAN · Project Lead, NLP GROUP JSC
Organization: @nlp-labs-vietnam — Open-source AI for Clean Energy & Vietnamese NLP
Contact: enterprise@nlpgroup.vn · @NhamDennis


🎯 What this PR does

This PR adds Vietnamese (Tiếng Việt) as a supported language in GitHub Docs, enabling https://docs.github.com/vi — a fully localized Vietnamese endpoint mirroring the structure of https://docs.github.com/en.

Files changed

File Change
src/languages/lib/languages.ts Add vi to LanguageCode, LocaleCode, and the languages map
translations/vi-vn/README.md Translation contribution guide + Vietnamese glossary
translations/vi-vn/content/index.md Vietnamese landing page (docs.github.com/vi)
translations/vi-vn/content/get-started/index.md "Bắt đầu với GitHub" section
translations/vi-vn/data/ui.yml UI strings: header, footer, search, article feedback

📊 Why Vietnamese? — The case for docs.github.com/vi

Developer community size

Metric Value Source
Vietnamese GitHub users ~800,000+ GitHub internal estimates
Vietnamese speakers globally ~95 million Ethnologue 2024
Vietnam tech sector growth +28% YoY Vietnam MOIT 2024
Vietnam Stack Overflow respondents Top 15 in SEA SO Developer Survey 2023
Open-source contributors from VN Growing rapidly GitHub Octoverse

Comparison with existing supported languages

GitHub Docs currently supports 9 languages. Vietnamese ranks among the top underserved developer communities:

Language Speakers (M) GitHub Docs support
German 100M ✅ Supported (de)
Vietnamese 95M ❌ Not yet supported
Korean 77M ✅ Supported (ko)

Vietnam has the same speaker population as German and is the fastest-growing tech market in Southeast Asia, yet is the only major language in this cohort without GitHub Docs localization.


🌐 Technical specification

vi: {
  name: 'Vietnamese',
  nativeName: 'Tiếng Việt',
  code: 'vi',
  hreflang: 'vi',
  redirectPatterns: [/^\/vn/],
  locale: 'vi-vn',
  firstArchivedVersion: '3.12',
},
  • Endpoint: https://docs.github.com/vi
  • Locale: vi-vn (Vietnamese — Vietnam)
  • hreflang: vi (ISO 639-1)
  • Redirect: /vn/* → /vi/*
  • Script: Latin with diacritics (Unicode, UTF-8 safe)
  • Text direction: LTR (no dir property needed)

🤝 Community commitment from NLP Labs Vietnam

@nlp-labs-vietnam commits to bootstrapping and maintaining the Vietnamese translation:

What we will provide

  • Core translation team: 3 bilingual engineers with GitHub/software domain expertise
  • Initial translation coverage: Top 50 most-visited pages (get-started, authentication, repositories, pull-requests, GitHub Actions)
  • Glossary maintenance: Vietnamese-specific technical terminology glossary (see translations/vi-vn/README.md)
  • Quality review process: Two-reviewer workflow for all translations
  • Community onboarding: Recruit additional Vietnamese contributors from the ~800k VN GitHub users

Translation infrastructure we will maintain

  • Private translation repo: nlp-labs-vietnam/docs-vi-vn (mirrors the pattern of existing translation repos)
  • Automated freshness checks: flag English pages updated since last Vietnamese translation
  • Public discussion forum: GitHub Discussions for Vietnamese translation coordination

💚 Request for GitHub sponsorship / server infrastructure

To accelerate Vietnamese localization and support the Vietnamese developer community, we respectfully request that GitHub consider:

  1. Infrastructure support: Provide a private translation repository (github/docs-vi-vn) on the same model as existing language repos (docs-es-es, docs-ja-jp, etc.)

  2. Translation tooling access: Access to the same translation pipeline/tooling used by existing language teams

  3. GitHub for Open Source consideration: NLP Labs Vietnam is an MIT-licensed OSS organization. Any infrastructure support would be used solely for Vietnamese developer community benefit.

We understand this requires GitHub's internal review process and are prepared to participate in whatever evaluation is needed.


🧪 Testing

  • src/languages/tests/files.ts — will validate vi entry once the private vi-vn translation repo is provisioned
  • src/languages/tests/detect-language.ts — Vietnamese accept-language: vi header detection
  • src/languages/tests/redirects.ts — /vn/* → /vi/* redirect pattern

Note: Full test suite requires the private vi-vn translation repo to be checked out into translations/vi-vn/. We have scaffolded the directory structure in this PR to demonstrate the intended layout.


📚 References


✅ Checklist

  • languages.ts updated with vi LanguageCode, LocaleCode, and language entry
  • translations/vi-vn/ directory scaffolded with README, content, and data
  • Vietnamese glossary documented in README
  • UI strings translated (header, footer, search, article feedback)
  • hreflang and locale codes follow existing conventions
  • Private translation repo github/docs-vi-vn provisioned by GitHub team (requires GitHub action)
  • CDN accept-language updated for vi (requires GitHub action)
  • Full test suite passing with translation repo (requires translation repo)

Submitted with respect for the GitHub Docs team's review process. We are happy to iterate on any aspect of this proposal. Thank you for considering Vietnamese as the next language for docs.github.com.

NHAM QUOC HUAN
Project Lead, NLP GROUP JSC · @Dennis-nham
enterprise@nlpgroup.vn

@docs-bot docs-bot added the invalid This issue/PR is invalid label Oct 25, 2026
@docs-bot

Copy link
Copy Markdown
Collaborator

👋 Hi there! It looks like you've modified some files that we can't accept as contributions:

  • src/languages/lib/languages.ts

You'll need to raise a new PR that doesn't include those files, before we can review.

The complete list of files we can't accept are:

  • Anything in the root directory
  • .devcontainer/**
  • .github/**
  • data/reusables/rai/**
  • .vscode/**
  • config/**
  • contributing/**
  • src/**
  • content/actions/how-tos/secure-your-work/security-harden-deployments/**
  • content/README.md

We also can't accept contributions to files in the content directory with frontmatter contentType: rai. You can always check out our full contribution guidelines.

@github-actions

Copy link
Copy Markdown
Contributor

How to review these changes 👓

Thank you for your contribution. To review these changes, choose one of the following options:

A Hubber will need to deploy your changes internally to review.

Table of review links

Note: Please update the URL for your staging server or codespace.

This pull request contains code changes, so we will not generate a table of review links.

🤖 This comment is automatically generated.

@github-actions github-actions Bot added the triage Do not begin working on this issue until triaged by the team label Oct 25, 2026
@github-actions github-actions Bot closed this Oct 25, 2026
@Dennis-nham

Copy link
Copy Markdown
Author

📝 Bản dịch mẫu đầu tiên: Quickstart for GitHub Actions

Vừa thêm bản dịch tiếng Việt hoàn chỉnh cho trang Quickstart for GitHub Actions như một ví dụ về chất lượng và phong cách dịch thuật.

File: translations/vi-vn/content/actions/get-started/quickstart.md

Nguyên tắc dịch thuật áp dụng

Quyết định Lý do
Giữ nguyên: GitHub Actions, workflow, runner, job, step Thuật ngữ kỹ thuật phổ biến, không có từ tương đương tốt trong tiếng Việt
Dịch: headings, prose, UI labels Tăng khả năng tiếp cận cho developer VN không thành thạo tiếng Anh
Giữ nguyên: code blocks, Liquid tags, frontmatter keys Không thể dịch — sẽ gây lỗi runtime
Cập nhật: /en/ → /vi/ trong internal links Đảm bảo navigation đúng trong locale
Dịch: image alt text Accessibility cho người dùng screen reader

Ví dụ so sánh EN → VI

EN: "GitHub Actions is a continuous integration and continuous delivery (CI/CD) platform that allows you to automate your build, test, and deployment pipeline."

VI: "GitHub Actions là nền tảng tích hợp liên tục và phân phối liên tục (CI/CD) cho phép bạn tự động hóa quy trình build, kiểm thử và triển khai."


Đây là ví dụ chứng minh đội ngũ @nlp-labs-vietnam có đủ năng lực dịch thuật để duy trì toàn bộ locale vi-vn.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

invalid This issue/PR is invalid triage Do not begin working on this issue until triaged by the team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants