Translation not working in sharedModule or more than one module
See original GitHub issueTranslation is working if project contains only one module(appModule).I am having more than one module.In my SharedModule, translation is not working.i am getting the following error.
Template parse errors:
The pipe 'translate' could not be found ("
</td>
<td>
<i class="material-icons" md[ERROR ->]-tooltip="{{'BUTTON_LABEL.ADVANCE' | translate}}"
mdTooltipPosition="left"): ng:///SharedModule/SharedSearchComponent.html@9:70
Issue Analytics
- State:
- Created 6 years ago
- Comments:19 (17 by maintainers)
Top Results From Across the Web
Troubles with ng-translate in multi-modules angular app
1. One loader setup for lazy loading modules: shared.module.ts import { TranslateModule } from '@ngx-translate/core'; // Inside @NgModule ...
Read more >Singleton services - Angular
A singleton service is a service for which only one instance exists in an application. For a sample application using the app-wide singleton...
Read more >Angular Modules and NgModule - Complete Guide
In this post, we are going to do an introduction to Angular Modularity (the NgModule functionality) and understand why it enables several ......
Read more >Fix Ngx-translate pipe not found in Angular 11 error [solved]
In this case I use a core module (which acts like a "shared" module). ... import {TranslateLoader, TranslateModule} from '@ngx-translate/core'; ...
Read more >Angular NGX-Translate Lazy Loaded Modules - Medium
Many of us used ngx-translate for managing translations in an angular app. ... But, if you go to this issue you'll find it...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@tanup you can try importing required modules manually into the lazy loaded routes, without CoreModule. Here’s what the core module imports: https://github.com/Alfresco/alfresco-ng2-components/blob/development/lib/core/core.module.ts#L55
thanks, I am able to reproduce the issue and we are investigating possible solutions.