Open FlorianBurgevin opened 7 years ago
Hello,
I want to translate my application dynamically with angular-translate
In provider, we can init "Strings" for DISPLAY_FORMAT,LABEL_OK, LABEL_CANCEL. with $mdpDatePickerProvider.setDisplayFormat('DD/MM/YYYY');
$mdpDatePickerProvider.setDisplayFormat('DD/MM/YYYY');
My question is how can I use angular-translate to replace those texts? The above line is used in .config of my module so I can't call $translate.
Do you have any solution?
Thanks
Hello,
I want to translate my application dynamically with angular-translate
In provider, we can init "Strings" for DISPLAY_FORMAT,LABEL_OK, LABEL_CANCEL. with
$mdpDatePickerProvider.setDisplayFormat('DD/MM/YYYY');
My question is how can I use angular-translate to replace those texts? The above line is used in .config of my module so I can't call $translate.
Do you have any solution?
Thanks