Enable French translation
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
import deepmerge from 'deepmerge'
|
import deepmerge from 'deepmerge'
|
||||||
import en from './en'
|
import en from './en'
|
||||||
// import fr from './fr'
|
import fr from './fr'
|
||||||
import it from './it'
|
import it from './it'
|
||||||
import pt from './pt'
|
import pt from './pt'
|
||||||
import cn from './cn'
|
import cn from './cn'
|
||||||
@@ -10,8 +10,8 @@ const addLanguages = (lang) => {
|
|||||||
}
|
}
|
||||||
const languages = { en }
|
const languages = { en }
|
||||||
|
|
||||||
// Add new languages to the object bellow
|
// Add new languages to the object bellow (please keep alphabetic sort)
|
||||||
addLanguages({ cn, it, pt })
|
addLanguages({ cn, fr, it, pt })
|
||||||
|
|
||||||
// "Hack" to make "albumSongs" resource use the same translations as "song"
|
// "Hack" to make "albumSongs" resource use the same translations as "song"
|
||||||
Object.keys(languages).forEach(
|
Object.keys(languages).forEach(
|
||||||
|
|||||||
Reference in New Issue
Block a user