diff --git a/ng2-components/ng2-alfresco-core/src/components/pagination/pagination.component.ts b/ng2-components/ng2-alfresco-core/src/components/pagination/pagination.component.ts index c5e2eee8ab..34221332b4 100644 --- a/ng2-components/ng2-alfresco-core/src/components/pagination/pagination.component.ts +++ b/ng2-components/ng2-alfresco-core/src/components/pagination/pagination.component.ts @@ -26,6 +26,7 @@ import { } from '@angular/core'; import { Pagination } from 'alfresco-js-api'; +import { TranslationService } from './../../services/translation.service'; import { PaginationQueryParams } from './pagination-query-params.interface'; @Component({ @@ -73,6 +74,12 @@ export class PaginationComponent implements OnInit { @Output('prevPage') onPrevPage: EventEmitter = new EventEmitter(); + constructor(translationService: TranslationService) { + if (translationService) { + translationService.addTranslationFolder('ng2-alfresco-core', 'assets/ng2-alfresco-core'); + } + } + ngOnInit() { this.pagination = { skipCount: 0,