How to change dynamic language in angular-strap datepicker?How can I merge properties of two JavaScript objects dynamically?How to change the href for a hyperlink using jQueryDoes angular-strap select and datepicker support i18n?How to configure angular-strap to work with AngularAMD?How to use Angular-Strap to create a modal with a controller?Angular Dynamic Locale not working instantlyChange angular-datepicker languageAngular Strap “bs-tabs” directive: model does not updateangular: uib-datepicker locale is not set dynamically
Why doesn't Dany protect her dragons better?
Is it safe to keep the GPU on 100% utilization for a very long time?
Mindfulness of Watching Youtube
How could a civilization detect tachyons?
Can the president of the United States be guilty of insider trading?
Can the Telekinesis spell be used on yourself for the following?
Expl3 and recent xparse on overleaf: No expl3 loader detected
My perfect evil overlord plan... or is it?
Magical Modulo Squares
Identity of a supposed anonymous referee revealed through "Description" of the report
Why doesn't a particle exert force on itself?
Visual Studio Code download existing code
Why is the episode called "The Last of the Starks"?
why it is 2>&1 and not 2>>&1 to append to a log file
Are there vaccine ingredients which may not be disclosed ("hidden", "trade secret", or similar)?
Two (probably) equal real numbers which are not proved to be equal?
What will Doctor Strange protect now?
Why doesn't increasing the temperature of something like wood or paper set them on fire?
Is there a list of the most-transited airports in the world?
What happens when the drag force exceeds the weight of an object falling into earth?
Company stopped my paying salary. What are my options?
Whose birthyears are canonically established in the MCU?
Add elements inside Array conditionally in JavaScript
Do oversize pulley wheels increase derailleur capacity?
How to change dynamic language in angular-strap datepicker?
How can I merge properties of two JavaScript objects dynamically?How to change the href for a hyperlink using jQueryDoes angular-strap select and datepicker support i18n?How to configure angular-strap to work with AngularAMD?How to use Angular-Strap to create a modal with a controller?Angular Dynamic Locale not working instantlyChange angular-datepicker languageAngular Strap “bs-tabs” directive: model does not updateangular: uib-datepicker locale is not set dynamically
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
I use angular-strap datepicker in my project. Unfortunately, I didn't find there opportunity for dynamic changing locale. I need to redraw datepicker on every $localeChangeSuccess
, but I don't know how to do it. Plugin defines locale due to service $locale
, but it defines only once on init
stage.
javascript angularjs angular-strap
add a comment |
I use angular-strap datepicker in my project. Unfortunately, I didn't find there opportunity for dynamic changing locale. I need to redraw datepicker on every $localeChangeSuccess
, but I don't know how to do it. Plugin defines locale due to service $locale
, but it defines only once on init
stage.
javascript angularjs angular-strap
What should happen to your datepicker when the locale has been changed?
– lin
Feb 10 '17 at 15:18
It should change the names of months and weeks in current locale.
– longroad
Feb 10 '17 at 15:52
This is what the documentations says:This module leverages the $locale service. You just have to load the proper i18n file to seamlessly translate your datepickers.
. mgcrea.github.io/angular-strap Have you tried it?
– lin
Feb 10 '17 at 15:58
Yes, i use it in my project, but this file is just needed for translating in current locale. But how the plugin to notify about changing locale?
– longroad
Feb 10 '17 at 16:08
add a comment |
I use angular-strap datepicker in my project. Unfortunately, I didn't find there opportunity for dynamic changing locale. I need to redraw datepicker on every $localeChangeSuccess
, but I don't know how to do it. Plugin defines locale due to service $locale
, but it defines only once on init
stage.
javascript angularjs angular-strap
I use angular-strap datepicker in my project. Unfortunately, I didn't find there opportunity for dynamic changing locale. I need to redraw datepicker on every $localeChangeSuccess
, but I don't know how to do it. Plugin defines locale due to service $locale
, but it defines only once on init
stage.
javascript angularjs angular-strap
javascript angularjs angular-strap
edited Dec 18 '17 at 16:53
vinS
1,19151931
1,19151931
asked Feb 10 '17 at 14:57
longroadlongroad
250211
250211
What should happen to your datepicker when the locale has been changed?
– lin
Feb 10 '17 at 15:18
It should change the names of months and weeks in current locale.
– longroad
Feb 10 '17 at 15:52
This is what the documentations says:This module leverages the $locale service. You just have to load the proper i18n file to seamlessly translate your datepickers.
. mgcrea.github.io/angular-strap Have you tried it?
– lin
Feb 10 '17 at 15:58
Yes, i use it in my project, but this file is just needed for translating in current locale. But how the plugin to notify about changing locale?
– longroad
Feb 10 '17 at 16:08
add a comment |
What should happen to your datepicker when the locale has been changed?
– lin
Feb 10 '17 at 15:18
It should change the names of months and weeks in current locale.
– longroad
Feb 10 '17 at 15:52
This is what the documentations says:This module leverages the $locale service. You just have to load the proper i18n file to seamlessly translate your datepickers.
. mgcrea.github.io/angular-strap Have you tried it?
– lin
Feb 10 '17 at 15:58
Yes, i use it in my project, but this file is just needed for translating in current locale. But how the plugin to notify about changing locale?
– longroad
Feb 10 '17 at 16:08
What should happen to your datepicker when the locale has been changed?
– lin
Feb 10 '17 at 15:18
What should happen to your datepicker when the locale has been changed?
– lin
Feb 10 '17 at 15:18
It should change the names of months and weeks in current locale.
– longroad
Feb 10 '17 at 15:52
It should change the names of months and weeks in current locale.
– longroad
Feb 10 '17 at 15:52
This is what the documentations says:
This module leverages the $locale service. You just have to load the proper i18n file to seamlessly translate your datepickers.
. mgcrea.github.io/angular-strap Have you tried it?– lin
Feb 10 '17 at 15:58
This is what the documentations says:
This module leverages the $locale service. You just have to load the proper i18n file to seamlessly translate your datepickers.
. mgcrea.github.io/angular-strap Have you tried it?– lin
Feb 10 '17 at 15:58
Yes, i use it in my project, but this file is just needed for translating in current locale. But how the plugin to notify about changing locale?
– longroad
Feb 10 '17 at 16:08
Yes, i use it in my project, but this file is just needed for translating in current locale. But how the plugin to notify about changing locale?
– longroad
Feb 10 '17 at 16:08
add a comment |
2 Answers
2
active
oldest
votes
Well, unfortunally angular-strap doesn't watch $locale
changes. Initializing angular-strap with a specific $locale
works very well but once the locale changed, angular-strap does not rerender his components. I could make it work with some tricks but this solution is not the best because its depending on $timeout
's and "force render stuff". Please check this fiddle. It would be much better to create a feature request at GitHub and make angular-strap rerender when $locale
changed.
View
<div ng-controller="Ctrl" class="padded">
<select name="language"
ng-model="language"
ng-options="k as v for (k, v) in languages"
ng-change="changeLanguage(language)"></select>
<input type="text" class="form-control"
ng-if="!someChange"
ng-model="myDate"
placeholder="Until" bs-datepicker>
<div class="padded">Selected date: myDate </div>
</div>
AngularJS Application
angular.module('calendar', [
'mgcrea.ngStrap.datepicker',
'tmh.dynamicLocale'
])
.config(function (tmhDynamicLocaleProvider)
tmhDynamicLocaleProvider.localeLocationPattern('https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.3.15/i18n/angular-locale_locale.js');
)
.controller('Ctrl', function($scope, tmhDynamicLocale, $timeout)
$scope.myDate = new Date();
$scope.someChange = false;
$scope.language = 'en-gb';
$scope.languages =
'en-us': 'English (USA)',
'en-gb': 'English (Great Britain)',
'de-de': 'Deutsh (Deutsh)'
;
$scope.changeLanguage = function (language)
//set new language
tmhDynamicLocale.set(language);
//store selected date
var saveDate = angular.copy($scope.myDate);
$timeout(function ()
$scope.someChange = true;
$timeout(function ()
$scope.someChange = false;
$scope.myDate = saveDate;
, 150);
, 150);
);
1
Great! Thank you. I will create feature request on angular-strap github page.
– longroad
Feb 11 '17 at 10:02
@proJS github.com/mgcrea/angular-strap/issues/919
– lin
Feb 11 '17 at 10:06
1
I closed my issue :)
– longroad
Feb 11 '17 at 10:11
@proJS Great, i followed you up on GitHub. Call me if you need more help.
– lin
Feb 11 '17 at 10:11
add a comment |
I tried the solution with the ng-if but it caused me side effects that the ngModel stop updating after one selection in the timepicker.
I came out with another approach that works without removing the element:
Instead of giving the model a date I give it an object like:
$scope.pickerModel = date: myDate, language: myLang
and change the angular-strap code like that:
go to:
controller.$formatters.push(function (modelValue) function...
in line: 3774
and change in the "else" from:
date = new Date(modelValue);
to
date = new Date(modelValue.date);
if (modelValue.language)
options.language = modelValue.language;
That's it!
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f42162394%2fhow-to-change-dynamic-language-in-angular-strap-datepicker%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Well, unfortunally angular-strap doesn't watch $locale
changes. Initializing angular-strap with a specific $locale
works very well but once the locale changed, angular-strap does not rerender his components. I could make it work with some tricks but this solution is not the best because its depending on $timeout
's and "force render stuff". Please check this fiddle. It would be much better to create a feature request at GitHub and make angular-strap rerender when $locale
changed.
View
<div ng-controller="Ctrl" class="padded">
<select name="language"
ng-model="language"
ng-options="k as v for (k, v) in languages"
ng-change="changeLanguage(language)"></select>
<input type="text" class="form-control"
ng-if="!someChange"
ng-model="myDate"
placeholder="Until" bs-datepicker>
<div class="padded">Selected date: myDate </div>
</div>
AngularJS Application
angular.module('calendar', [
'mgcrea.ngStrap.datepicker',
'tmh.dynamicLocale'
])
.config(function (tmhDynamicLocaleProvider)
tmhDynamicLocaleProvider.localeLocationPattern('https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.3.15/i18n/angular-locale_locale.js');
)
.controller('Ctrl', function($scope, tmhDynamicLocale, $timeout)
$scope.myDate = new Date();
$scope.someChange = false;
$scope.language = 'en-gb';
$scope.languages =
'en-us': 'English (USA)',
'en-gb': 'English (Great Britain)',
'de-de': 'Deutsh (Deutsh)'
;
$scope.changeLanguage = function (language)
//set new language
tmhDynamicLocale.set(language);
//store selected date
var saveDate = angular.copy($scope.myDate);
$timeout(function ()
$scope.someChange = true;
$timeout(function ()
$scope.someChange = false;
$scope.myDate = saveDate;
, 150);
, 150);
);
1
Great! Thank you. I will create feature request on angular-strap github page.
– longroad
Feb 11 '17 at 10:02
@proJS github.com/mgcrea/angular-strap/issues/919
– lin
Feb 11 '17 at 10:06
1
I closed my issue :)
– longroad
Feb 11 '17 at 10:11
@proJS Great, i followed you up on GitHub. Call me if you need more help.
– lin
Feb 11 '17 at 10:11
add a comment |
Well, unfortunally angular-strap doesn't watch $locale
changes. Initializing angular-strap with a specific $locale
works very well but once the locale changed, angular-strap does not rerender his components. I could make it work with some tricks but this solution is not the best because its depending on $timeout
's and "force render stuff". Please check this fiddle. It would be much better to create a feature request at GitHub and make angular-strap rerender when $locale
changed.
View
<div ng-controller="Ctrl" class="padded">
<select name="language"
ng-model="language"
ng-options="k as v for (k, v) in languages"
ng-change="changeLanguage(language)"></select>
<input type="text" class="form-control"
ng-if="!someChange"
ng-model="myDate"
placeholder="Until" bs-datepicker>
<div class="padded">Selected date: myDate </div>
</div>
AngularJS Application
angular.module('calendar', [
'mgcrea.ngStrap.datepicker',
'tmh.dynamicLocale'
])
.config(function (tmhDynamicLocaleProvider)
tmhDynamicLocaleProvider.localeLocationPattern('https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.3.15/i18n/angular-locale_locale.js');
)
.controller('Ctrl', function($scope, tmhDynamicLocale, $timeout)
$scope.myDate = new Date();
$scope.someChange = false;
$scope.language = 'en-gb';
$scope.languages =
'en-us': 'English (USA)',
'en-gb': 'English (Great Britain)',
'de-de': 'Deutsh (Deutsh)'
;
$scope.changeLanguage = function (language)
//set new language
tmhDynamicLocale.set(language);
//store selected date
var saveDate = angular.copy($scope.myDate);
$timeout(function ()
$scope.someChange = true;
$timeout(function ()
$scope.someChange = false;
$scope.myDate = saveDate;
, 150);
, 150);
);
1
Great! Thank you. I will create feature request on angular-strap github page.
– longroad
Feb 11 '17 at 10:02
@proJS github.com/mgcrea/angular-strap/issues/919
– lin
Feb 11 '17 at 10:06
1
I closed my issue :)
– longroad
Feb 11 '17 at 10:11
@proJS Great, i followed you up on GitHub. Call me if you need more help.
– lin
Feb 11 '17 at 10:11
add a comment |
Well, unfortunally angular-strap doesn't watch $locale
changes. Initializing angular-strap with a specific $locale
works very well but once the locale changed, angular-strap does not rerender his components. I could make it work with some tricks but this solution is not the best because its depending on $timeout
's and "force render stuff". Please check this fiddle. It would be much better to create a feature request at GitHub and make angular-strap rerender when $locale
changed.
View
<div ng-controller="Ctrl" class="padded">
<select name="language"
ng-model="language"
ng-options="k as v for (k, v) in languages"
ng-change="changeLanguage(language)"></select>
<input type="text" class="form-control"
ng-if="!someChange"
ng-model="myDate"
placeholder="Until" bs-datepicker>
<div class="padded">Selected date: myDate </div>
</div>
AngularJS Application
angular.module('calendar', [
'mgcrea.ngStrap.datepicker',
'tmh.dynamicLocale'
])
.config(function (tmhDynamicLocaleProvider)
tmhDynamicLocaleProvider.localeLocationPattern('https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.3.15/i18n/angular-locale_locale.js');
)
.controller('Ctrl', function($scope, tmhDynamicLocale, $timeout)
$scope.myDate = new Date();
$scope.someChange = false;
$scope.language = 'en-gb';
$scope.languages =
'en-us': 'English (USA)',
'en-gb': 'English (Great Britain)',
'de-de': 'Deutsh (Deutsh)'
;
$scope.changeLanguage = function (language)
//set new language
tmhDynamicLocale.set(language);
//store selected date
var saveDate = angular.copy($scope.myDate);
$timeout(function ()
$scope.someChange = true;
$timeout(function ()
$scope.someChange = false;
$scope.myDate = saveDate;
, 150);
, 150);
);
Well, unfortunally angular-strap doesn't watch $locale
changes. Initializing angular-strap with a specific $locale
works very well but once the locale changed, angular-strap does not rerender his components. I could make it work with some tricks but this solution is not the best because its depending on $timeout
's and "force render stuff". Please check this fiddle. It would be much better to create a feature request at GitHub and make angular-strap rerender when $locale
changed.
View
<div ng-controller="Ctrl" class="padded">
<select name="language"
ng-model="language"
ng-options="k as v for (k, v) in languages"
ng-change="changeLanguage(language)"></select>
<input type="text" class="form-control"
ng-if="!someChange"
ng-model="myDate"
placeholder="Until" bs-datepicker>
<div class="padded">Selected date: myDate </div>
</div>
AngularJS Application
angular.module('calendar', [
'mgcrea.ngStrap.datepicker',
'tmh.dynamicLocale'
])
.config(function (tmhDynamicLocaleProvider)
tmhDynamicLocaleProvider.localeLocationPattern('https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.3.15/i18n/angular-locale_locale.js');
)
.controller('Ctrl', function($scope, tmhDynamicLocale, $timeout)
$scope.myDate = new Date();
$scope.someChange = false;
$scope.language = 'en-gb';
$scope.languages =
'en-us': 'English (USA)',
'en-gb': 'English (Great Britain)',
'de-de': 'Deutsh (Deutsh)'
;
$scope.changeLanguage = function (language)
//set new language
tmhDynamicLocale.set(language);
//store selected date
var saveDate = angular.copy($scope.myDate);
$timeout(function ()
$scope.someChange = true;
$timeout(function ()
$scope.someChange = false;
$scope.myDate = saveDate;
, 150);
, 150);
);
answered Feb 10 '17 at 16:54
linlin
14.3k33867
14.3k33867
1
Great! Thank you. I will create feature request on angular-strap github page.
– longroad
Feb 11 '17 at 10:02
@proJS github.com/mgcrea/angular-strap/issues/919
– lin
Feb 11 '17 at 10:06
1
I closed my issue :)
– longroad
Feb 11 '17 at 10:11
@proJS Great, i followed you up on GitHub. Call me if you need more help.
– lin
Feb 11 '17 at 10:11
add a comment |
1
Great! Thank you. I will create feature request on angular-strap github page.
– longroad
Feb 11 '17 at 10:02
@proJS github.com/mgcrea/angular-strap/issues/919
– lin
Feb 11 '17 at 10:06
1
I closed my issue :)
– longroad
Feb 11 '17 at 10:11
@proJS Great, i followed you up on GitHub. Call me if you need more help.
– lin
Feb 11 '17 at 10:11
1
1
Great! Thank you. I will create feature request on angular-strap github page.
– longroad
Feb 11 '17 at 10:02
Great! Thank you. I will create feature request on angular-strap github page.
– longroad
Feb 11 '17 at 10:02
@proJS github.com/mgcrea/angular-strap/issues/919
– lin
Feb 11 '17 at 10:06
@proJS github.com/mgcrea/angular-strap/issues/919
– lin
Feb 11 '17 at 10:06
1
1
I closed my issue :)
– longroad
Feb 11 '17 at 10:11
I closed my issue :)
– longroad
Feb 11 '17 at 10:11
@proJS Great, i followed you up on GitHub. Call me if you need more help.
– lin
Feb 11 '17 at 10:11
@proJS Great, i followed you up on GitHub. Call me if you need more help.
– lin
Feb 11 '17 at 10:11
add a comment |
I tried the solution with the ng-if but it caused me side effects that the ngModel stop updating after one selection in the timepicker.
I came out with another approach that works without removing the element:
Instead of giving the model a date I give it an object like:
$scope.pickerModel = date: myDate, language: myLang
and change the angular-strap code like that:
go to:
controller.$formatters.push(function (modelValue) function...
in line: 3774
and change in the "else" from:
date = new Date(modelValue);
to
date = new Date(modelValue.date);
if (modelValue.language)
options.language = modelValue.language;
That's it!
add a comment |
I tried the solution with the ng-if but it caused me side effects that the ngModel stop updating after one selection in the timepicker.
I came out with another approach that works without removing the element:
Instead of giving the model a date I give it an object like:
$scope.pickerModel = date: myDate, language: myLang
and change the angular-strap code like that:
go to:
controller.$formatters.push(function (modelValue) function...
in line: 3774
and change in the "else" from:
date = new Date(modelValue);
to
date = new Date(modelValue.date);
if (modelValue.language)
options.language = modelValue.language;
That's it!
add a comment |
I tried the solution with the ng-if but it caused me side effects that the ngModel stop updating after one selection in the timepicker.
I came out with another approach that works without removing the element:
Instead of giving the model a date I give it an object like:
$scope.pickerModel = date: myDate, language: myLang
and change the angular-strap code like that:
go to:
controller.$formatters.push(function (modelValue) function...
in line: 3774
and change in the "else" from:
date = new Date(modelValue);
to
date = new Date(modelValue.date);
if (modelValue.language)
options.language = modelValue.language;
That's it!
I tried the solution with the ng-if but it caused me side effects that the ngModel stop updating after one selection in the timepicker.
I came out with another approach that works without removing the element:
Instead of giving the model a date I give it an object like:
$scope.pickerModel = date: myDate, language: myLang
and change the angular-strap code like that:
go to:
controller.$formatters.push(function (modelValue) function...
in line: 3774
and change in the "else" from:
date = new Date(modelValue);
to
date = new Date(modelValue.date);
if (modelValue.language)
options.language = modelValue.language;
That's it!
answered Aug 12 '18 at 9:55
Shlomi AharoniShlomi Aharoni
17026
17026
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f42162394%2fhow-to-change-dynamic-language-in-angular-strap-datepicker%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
What should happen to your datepicker when the locale has been changed?
– lin
Feb 10 '17 at 15:18
It should change the names of months and weeks in current locale.
– longroad
Feb 10 '17 at 15:52
This is what the documentations says:
This module leverages the $locale service. You just have to load the proper i18n file to seamlessly translate your datepickers.
. mgcrea.github.io/angular-strap Have you tried it?– lin
Feb 10 '17 at 15:58
Yes, i use it in my project, but this file is just needed for translating in current locale. But how the plugin to notify about changing locale?
– longroad
Feb 10 '17 at 16:08