alfresco-ng2-components: Translation not working in sharedModule or more than one module
Translation 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
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 19 (17 by maintainers)
@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.