mercredi 19 septembre 2018

How can i convert english into spanish language using ember i18n

Using ember js i want to convert english to spanish words bt now i can only convert by custom,how can i avoid that.

locales>es>translation.js

export default {
login: "hello",
};

routs>

i18n: Ember.inject.service(),

beforeModel(){
  this.set('i18n.locale', 'es');
}

template>

  




Aucun commentaire:

Enregistrer un commentaire