i18n [DISPLAY_FORMAT, LABEL_OK, LABEL_CANCEL]
Opened this issue · 0 comments
FlorianBurgevin commented
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