Skip to content

Commit 1cd38b5

Browse files
committed
starting with translating to Dutch
1 parent 58da597 commit 1cd38b5

File tree

4 files changed

+1365
-5
lines changed

4 files changed

+1365
-5
lines changed

config/i18n.ts

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@ export const countryLocaleVariants: Record<string, (LocaleObjectData & { country
7676
{ country: true, code: 'pt-PT', name: 'Português (Portugal)' },
7777
{ code: 'pt-BR', name: 'Português (Brasil)' },
7878
],*/
79+
nl: [
80+
{ country: true, code: 'nl-NL', name: 'Nederlands' },
81+
// { country: true, code: 'nl-BE', name: 'Vlaams' },
82+
],
7983
}
8084

8185
function createPluralRule(locale: string, mapping: Record<string, number>) {
@@ -213,11 +217,11 @@ const locales: (LocaleObjectData | (Omit<LocaleObjectData, 'code'> & { code: str
213217
file: 'ne-NP.json',
214218
name: 'नेपाली',
215219
},
216-
/*{
217-
code: 'nl-NL',
218-
file: 'nl-NL.json',
219-
name: 'Nederlands',
220-
},*/
220+
{
221+
code: 'nl',
222+
file: 'nl.json',
223+
name: 'Nederlands',
224+
},
221225
{
222226
code: 'es',
223227
file: 'es.json',

i18n/locales/nl-BE.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"$schema": "../schema.json"
3+
}

i18n/locales/nl-NL.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"$schema": "../schema.json"
3+
}

0 commit comments

Comments
 (0)