Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change calendar language using vue-i18n #95

Open
SLMNBJ opened this issue Apr 29, 2018 · 1 comment
Open

Change calendar language using vue-i18n #95

SLMNBJ opened this issue Apr 29, 2018 · 1 comment

Comments

@SLMNBJ
Copy link

SLMNBJ commented Apr 29, 2018

How can I do to change the calendar language when I change the locale using vue-i18n?

@Hego2017
Copy link

I imported vue-event-calendar in my Calendar.vue:

<script>
  import Vue from 'vue'
  import vueEventCalendar from 'vue-event-calendar'
  Vue.use(vueEventCalendar, {locale:this.$i18n.locale., weekStartOn: 1}) 
export default {...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants