How can I properly implement i18n so that the variable "title" displays the translated value from the JSON? Currently, it is not showing anything and should return "Mis viajes". Thank you. trips-header.jade
I attempted this method but only see a "0" on the screen.
.trips-header
.background-image
.header-content
p.title.ng-i18next {{ title | i18next}}
p.sub-title.ng-i18next {{ sub-title | i18next}}
My JSON file
{
"es-AR": {
"translation": {
"title":"Mis Viajes!",
"sub-title": " te ayuda a planificar y organizar tus viajes."
}
}
}