Enable French translation
This commit is contained in:
parent
79454d7a92
commit
34ad740e07
1 changed files with 3 additions and 3 deletions
|
|
@ -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(
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue