mattlewis92 / angular-bootstrap-calendar

A port of the bootstrap calendar widget to AngularJS (no jQuery required!)
https://mattlewis92.github.io/angular-bootstrap-calendar/
MIT License
798 stars 367 forks source link

Internationalization and localization does not work title #24

Closed newmesiss closed 9 years ago

newmesiss commented 9 years ago

I only translates the names of the days but months of title

 <h2 class="text-center">{{ calendarControl.getTitle() }}</h2>

image

mattlewis92 commented 9 years ago

That's already fixed in the latest version (https://github.com/mattlewis92/angular-bootstrap-calendar/commit/dffe35ed74e9dad263a2e3654880561e172c73eb), upgrade to 0.7.0

newmesiss commented 9 years ago

week even as usual , Greetings friend. image

mattlewis92 commented 9 years ago

Upgrade to 0.7.1 then add the attribute with your translation like so:

calendar-week-title-label="Week {week} of {year}"