Skip to content

Commit 7f1e259

Browse files
feat(i18n): add Dutch nl-NL translations (#2118)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
1 parent 3eadce1 commit 7f1e259

File tree

3 files changed

+1569
-5
lines changed

3 files changed

+1569
-5
lines changed

config/i18n.ts

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@ export const countryLocaleVariants: Record<string, (LocaleObjectData & { country
8181
{ country: true, code: 'pt-PT', name: 'Português (Portugal)' },
8282
{ code: 'pt-BR', name: 'Português (Brasil)' },
8383
],*/
84+
nl: [
85+
{ country: true, code: 'nl-NL', name: 'Nederlands' },
86+
// { country: true, code: 'nl-BE', name: 'Vlaams' },
87+
],
8488
}
8589

8690
function createPluralRule(locale: string, mapping: Record<string, number>) {
@@ -218,11 +222,11 @@ const locales: (LocaleObjectData | (Omit<LocaleObjectData, 'code'> & { code: str
218222
file: 'ne-NP.json',
219223
name: 'नेपाली',
220224
},
221-
/*{
222-
code: 'nl-NL',
223-
file: 'nl-NL.json',
224-
name: 'Nederlands',
225-
},*/
225+
{
226+
code: 'nl',
227+
file: 'nl.json',
228+
name: 'Nederlands',
229+
},
226230
{
227231
code: 'es',
228232
file: 'es.json',

i18n/locales/nl-NL.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"$schema": "../schema.json",
3+
"auth": {
4+
"modal": {
5+
"handle_placeholder": "oranje.npmx.dev"
6+
}
7+
}
8+
}

0 commit comments

Comments
 (0)