Skip to content

feat(i18n): adding Dutch#2118

Open
WilcoSp wants to merge 35 commits intonpmx-dev:mainfrom
WilcoSp:feat-i18n/adding-dutch
Open

feat(i18n): adding Dutch#2118
WilcoSp wants to merge 35 commits intonpmx-dev:mainfrom
WilcoSp:feat-i18n/adding-dutch

Conversation

@WilcoSp
Copy link
Copy Markdown
Contributor

@WilcoSp WilcoSp commented Mar 17, 2026

📚 Description

Adding Dutch translations to npmx, I've also added nl as a language that has variants because of Flemish.

🧭 Context

This pr adds Dutch to the available languages, in case of "you" I've chosen for the formal variant ("u") instead of informal "je/jij"

terms usage (🇬🇧 = 🇳🇱)

  • package = pakket
  • dependency = dependency (stays same)
  • provenance = herkomst verificatie / herkomst gegevens
  • readme = readme (stays same)
  • deprecated = afgeraden ('not recommended' in Dutch)
  • like = vind leuk
  • unlike = vind niet leuk
  • contributor = bijdrager
  • facet = Aspect
  • playground = playground (stay same)
  • issue = issue (stays same)
  • patch = patch (stays same)
  • minor = sub (semver)
  • major = hoofd (semver)
  • operation = opdracht
  • command palette = actie menu (action menu, describes closer what it does and makes the placeholder translation possible, 'snelmenu' (quickmenu) was also an option but the placeholder couldn't be translated than)
  • command (only in command palette) = actie
  • home/homepage = start/startpagina
  • freshness = recentheid (for compare)

Translations that stay the same because these are already used by Dutch developers as is and because the direct translations don't fit the context of npmx & developing software.

🤖 AI & translator use

I did use Chatgpt, Gemini & Deepl to assist translating while going over each page & translation individually to get the best translations

progress

Below is the progress of translating

  • seo
  • footer
  • shortcuts
  • search
  • command_palette
  • nav
  • blog
  • settings
  • i18n
  • error
  • common
  • profile
  • package
  • connector
  • operations
  • org
  • user
  • claim
  • code
  • badges
  • filters
  • about
  • account_menu
  • auth
  • header
  • compare (except scatter_chart)
  • compare.scatter_chart (will be in a different pr)
  • pds
  • privacy_policy (will be in a different pr)
  • a11y
  • translation_status
  • vacations (will be in a different pr)
  • action_bar
  • logo_menu
  • brand
  • built_at + alt_logo + tagline + non_affiliation_disclaimer + trademark_disclaimer + alt_logo_kawaii

@vercel
Copy link
Copy Markdown

vercel bot commented Mar 17, 2026

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

Project Deployment Actions Updated (UTC)
npmx.dev Ready Ready Preview, Comment Apr 12, 2026 8:23pm
2 Skipped Deployments
Project Deployment Actions Updated (UTC)
docs.npmx.dev Ignored Ignored Preview Apr 12, 2026 8:23pm
npmx-lunaria Ignored Ignored Apr 12, 2026 8:23pm

Request Review

@WilcoSp WilcoSp changed the title feat(i18n) adding Dutch feat(i18n): adding Dutch Mar 17, 2026
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 17, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

@ghostdevv
Copy link
Copy Markdown
Contributor

What's the progress on this? No pressure, just curious!

@WilcoSp
Copy link
Copy Markdown
Contributor Author

WilcoSp commented Apr 11, 2026

What's the progress on this? No pressure, just curious!

I'm still translating and getting further and further but my time is split between this pr, #1233, work and personal life.

I'll add an overview at the pr description to get a better indication how far the translations are

@WilcoSp
Copy link
Copy Markdown
Contributor Author

WilcoSp commented Apr 11, 2026

just temporarily disabled the "Allow edits and access to secrets by maintainers ", this is mostly due to autofix bot which when sync back can cause merge conflicts. When open for review it'll be enabled again.

@ghostdevv
Copy link
Copy Markdown
Contributor

What's the progress on this? No pressure, just curious!

I'm still translating and getting further and further but my time is split between this pr, #1233, work and personal life.

I'll add an overview at the pr description to get a better indication how far the translations are

No worries! If it helps we can always merge this partially translated, and then you (and/or others) can contribute more in follow up PRs - but it's up to you!

removed privacy policy & vacation (diff pr)
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Apr 12, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 08207982-9ae2-4d69-9d64-fc7a331accdb

📥 Commits

Reviewing files that changed from the base of the PR and between e99bd3c and d60f411.

📒 Files selected for processing (1)
  • i18n/locales/nl.json
✅ Files skipped from review due to trivial changes (1)
  • i18n/locales/nl.json

📝 Walkthrough

Summary by CodeRabbit

  • New Features
    • Added full Dutch (Nederlands) language support across the app, including comprehensive UI translations and copy.
    • Introduced a Netherlands-specific locale variant so users in the Netherlands see region-appropriate text, including updated placeholders and localized strings in authentication, navigation, settings and common UI areas.

Walkthrough

Added Dutch language support by registering a base nl locale and Netherlands variant in config/i18n.ts, and adding two new locale files (i18n/locales/nl.json and i18n/locales/nl-NL.json) containing Dutch translations and region-specific overrides.

Changes

Cohort / File(s) Summary
Localisation Configuration
config/i18n.ts
Registered nl as a base locale and added nlnl-NL mapping to countryLocaleVariants; enabled the active nl locale entry (previously commented).
Dutch Locale Files
i18n/locales/nl.json, i18n/locales/nl-NL.json
Added comprehensive Dutch translations (nl.json, ~1552 lines) and a small Netherlands-specific override file (nl-NL.json) with keys such as auth.modal.handle_placeholder.

Possibly related PRs

Suggested reviewers

  • ghostdevv
  • danielroe
🚥 Pre-merge checks | ✅ 2
✅ Passed checks (2 passed)
Check name Status Explanation
Title check ✅ Passed The title 'feat(i18n): adding Dutch' clearly and specifically describes the main change—adding Dutch language support to the i18n configuration.
Description check ✅ Passed The description is comprehensively related to the changeset, providing context about Dutch translations, term mappings, translation methodology, and detailed progress tracking across multiple UI sections.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@WilcoSp
Copy link
Copy Markdown
Contributor Author

WilcoSp commented Apr 12, 2026

@ghostdevv I've just translated the last things I think should be translated for this pr.
the only things I haven't translated are the privacy_policy, vacations & compare.scatter_chart.

  • for privacy policy the time will need to be taken to translate it so probably best for a different pr
  • vacation doesn't have any priority rn
  • compare.quadrant_chart or now compare.scatter_chart still very new and will probably still change a lot

@WilcoSp WilcoSp marked this pull request as ready for review April 12, 2026 19:58
@WilcoSp
Copy link
Copy Markdown
Contributor Author

WilcoSp commented Apr 12, 2026

@coderabbitai review

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Apr 12, 2026

✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@i18n/locales/nl.json`:
- Line 365: The "not_found_message" translation contains a typo ("nit"); update
its value to correct Dutch ("Dit pakket kon niet gevonden worden.") and scan the
other high-visibility keys referenced in the comment (the other locale entries
at the given positions) for similar misspellings—replace "nit" with "niet" and
fix any other spelling/wording mistakes found so that all user-facing strings
read correctly in Dutch.
- Line 1133: The localization key "view_profile" in nl.json uses the Dutch token
"{naam}" which doesn't match the expected interpolation token "{name}" used by
callers; update the value for "view_profile" to use "{name}" so runtime
interpolation works (locate the "view_profile" entry and replace "{naam}" with
"{name}").
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 422cfe62-24cd-4e68-999c-baf65fc18616

📥 Commits

Reviewing files that changed from the base of the PR and between f70a11b and e99bd3c.

📒 Files selected for processing (3)
  • config/i18n.ts
  • i18n/locales/nl-NL.json
  • i18n/locales/nl.json

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.

2 participants