-
-
Notifications
You must be signed in to change notification settings - Fork 583
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
Using ngx-translate in a standalone component #1462
Comments
You can put it in your app routes like so:
|
I find it incredibly hard to use it in Angular 17 without the module structure.
Is this corrrect understood this is the new way we should implement pr lazyloading basis of a component?.
TranslateJsonLoader:
Please help, @johnsonlin , @mtabaj :) Running Angular v. 17. latest version of ngx-translate. |
I'm wondering if for small projects it makes sense to just stick with modules for now. |
any updates on this? its really hard to use translate effectively with SSR and standalone components |
Hi, I can't find a way to declare the TranslateModule in a standalone component.
It's works in the app.config with importProvidersFrom, but I have to use it also in a component with .forChild.
The text was updated successfully, but these errors were encountered: