Open quongdang opened 4 years ago
Hi all,
I have issue with localization. My application have multiple language such as ( en, de, cn...). I already added the directive:
<md-date-range ng-model="vm.selectedRange" auto-confirm="true" show-template="false" one-panel="true" md-on-select="changeDates()" date-start="vm.selectedRange.dateStart" date-end="vm.selectedRange.dateEnd"> </md-date-range>
and config in controll as below:
vm.selectedRange = { dateStart: moment().startOf('day').subtract(7, 'days').toDate(), dateEnd: moment().startOf('day').toDate() };
It can display as my expectation, but when I try to change language from en -> de, it doesn't change the labels. It just update after I tried to refresh the page. Does anyone have suggestion for this issue?
Thank you so much.
Hi all,
I have issue with localization. My application have multiple language such as ( en, de, cn...). I already added the directive:
and config in controll as below:
It can display as my expectation, but when I try to change language from en -> de, it doesn't change the labels. It just update after I tried to refresh the page. Does anyone have suggestion for this issue?
Thank you so much.