Let's say I have the following translation code:
languageOptions: {
en: {
code: "en"
displayName: "English"
},
es: {
code: "es"
displayName: "Español"
}
}
I want to, from within my Handlebars template, iterate over the properties within languageOptions. I'm also using the ember-i18n plugin. Is there a way to do something like what I'm attempting to do here? (The code below, unfortunately, does not work.)
Aucun commentaire:
Enregistrer un commentaire