guillaumevincent / vue-polyglot

basic translation plugin for VueJS 2+
https://guillaumevincent.github.io/vue-polyglot/example/
MIT License
43 stars 7 forks source link

support cascade data in locale #6

Open suenot opened 7 years ago

suenot commented 7 years ago
Vue.locales({
  'en': {
    'coinstList': 'Coins list',
    'features': 'Features',
    'team': 'Team',
    'subscription': 'Subscription',
    'profile': 'Profile',
    'signOut': 'Sign out',
    'landing': {
      'description': 'an open-source platform for collaborative crypto-asset investment analysis'
    }
  }
})

I can't get {{$t('landing.description')}}. In https://github.com/kazupon/vue-i18n this feature is work.