Add Dutch language

This commit is contained in:
Kevin Morssink
2020-04-26 15:57:09 +02:00
committed by Deluan Quintão
parent 531155d016
commit 1019bb8258
2 changed files with 89 additions and 2 deletions
+3 -2
View File
@@ -1,9 +1,10 @@
import deepmerge from 'deepmerge'
import en from './en'
import cn from './cn'
import fr from './fr'
import it from './it'
import nl from './nl'
import pt from './pt'
import cn from './cn'
const addLanguages = (lang) => {
Object.keys(lang).forEach((l) => (languages[l] = deepmerge(en, lang[l])))
@@ -11,7 +12,7 @@ const addLanguages = (lang) => {
const languages = { en }
// Add new languages to the object bellow (please keep alphabetic sort)
addLanguages({ cn, fr, it, pt })
addLanguages({ cn, fr, it, nl, pt })
// "Hack" to make "albumSongs" resource use the same translations as "song"
Object.keys(languages).forEach(