Skip to content

Instantly share code, notes, and snippets.

@jonpitch
Created Aug 29, 2016
Embed
What would you like to do?
ember-i18n
// app/locales/en/translations.js
export default {
app: {
hello: 'Hello'
}
}
// app/locales/es/translations.js
export default {
app: {
hello: 'Hola'
}
}
// app/templates/whatever.hbs
<p>{{t "app.hello"}}</p>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment