-
-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Correct configuration delivery (translations) #14
Comments
Hi @magoss , This would be indeed a great feature. I will start working on it asap. |
Yup, ngx-translate. |
This could be a great feature. I have to do something like this to allow translations before to open it...
|
Hi guys, So i finally got time to work on this issue. After deep analysis, i came to the conclusion that there will be no direct support of translation inside the library, not with The documentation has been updated as well. Happy coding |
Bug Report or Feature Request (mark with an
x
)OS and Version?
Windows 10
Versions
Angular 4.2.4
Desired functionality
I use translation service inside my Angular app. I have a problem with delivery of translations to ngx-cookieconsent configuration. Is there any way to pass configuration object later, inside component? I see it's required to initialize module, but It's odd to pass translation from the module level. I mean:
NgcCookieConsentModule.forRoot(cookieConfig)
I have to have translations already here, but I have it only in a component - they come from a service.
Would be awesome to abstract out messages from configuration object to make it translateable.
The text was updated successfully, but these errors were encountered: