Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
1cd38b5
starting with translating to Dutch
WilcoSp Mar 8, 2026
2d7ce67
Merge branch 'main' into feat-i18n/adding-dutch
WilcoSp Mar 8, 2026
ed347e0
Merge branch 'main' into feat-i18n/adding-dutch
WilcoSp Mar 10, 2026
2c9f298
translated the comparison page
WilcoSp Mar 10, 2026
81a6ea9
translated header and it's modal & settings page
WilcoSp Mar 10, 2026
233417b
translated about page
WilcoSp Mar 10, 2026
21f42c5
translated accessibility
WilcoSp Mar 10, 2026
b82da88
translated claim page and some in common
WilcoSp Mar 10, 2026
17be489
Merge branch 'main' into feat-i18n/adding-dutch
WilcoSp Mar 17, 2026
7b09b03
translated search page
WilcoSp Mar 17, 2026
d353f16
translated part of package page
WilcoSp Mar 17, 2026
24efeed
translated the package page fully now
WilcoSp Mar 17, 2026
97881fe
translated a lot more to Dutch
WilcoSp Mar 17, 2026
310decd
Merge branch 'npmx-dev:main' into feat-i18n/adding-dutch
WilcoSp Mar 20, 2026
f7f4da2
translated till pacakge.trends.copy_alt
WilcoSp Mar 20, 2026
0fb1991
translated team access
WilcoSp Mar 20, 2026
b72b551
Merge branch 'npmx-dev:main' into feat-i18n/adding-dutch
WilcoSp Mar 31, 2026
3f2cd59
[autofix.ci] apply automated fixes
autofix-ci[bot] Mar 31, 2026
7b9bd23
translated branding page
WilcoSp Mar 31, 2026
ccca35a
translated translation status
WilcoSp Mar 31, 2026
b4cd62e
added translations for settings & "compare_this_package"
WilcoSp Mar 31, 2026
a0d9184
translated docs page
WilcoSp Mar 31, 2026
f24dfad
added translations for operations and some more
WilcoSp Mar 31, 2026
cc763f6
Merge branch 'feat-i18n/adding-dutch' of github.com:WilcoSp/npmx.dev …
WilcoSp Mar 31, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions config/i18n.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,10 @@ export const countryLocaleVariants: Record<string, (LocaleObjectData & { country
{ country: true, code: 'pt-PT', name: 'Português (Portugal)' },
{ code: 'pt-BR', name: 'Português (Brasil)' },
],*/
nl: [
{ country: true, code: 'nl-NL', name: 'Nederlands' },
// { country: true, code: 'nl-BE', name: 'Vlaams' },
],
}

function createPluralRule(locale: string, mapping: Record<string, number>) {
Expand Down Expand Up @@ -218,11 +222,11 @@ const locales: (LocaleObjectData | (Omit<LocaleObjectData, 'code'> & { code: str
file: 'ne-NP.json',
name: 'नेपाली',
},
/*{
code: 'nl-NL',
file: 'nl-NL.json',
name: 'Nederlands',
},*/
{
code: 'nl',
file: 'nl.json',
name: 'Nederlands',
},
{
code: 'es',
file: 'es.json',
Expand Down
8 changes: 8 additions & 0 deletions i18n/locales/nl-NL.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"$schema": "../schema.json",
"auth": {
"modal": {
"handle_placeholder": "oranje.npmx.dev"
}
}
}
Loading
Loading