Skip to content
This repository has been archived by the owner on May 12, 2018. It is now read-only.

i18n [DISPLAY_FORMAT, LABEL_OK, LABEL_CANCEL] #164

Open
FlorianBurgevin opened this issue Dec 5, 2016 · 0 comments
Open

i18n [DISPLAY_FORMAT, LABEL_OK, LABEL_CANCEL] #164

FlorianBurgevin opened this issue Dec 5, 2016 · 0 comments

Comments

@FlorianBurgevin
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant