Hello dear developers, Today in this post I am going to address most important topic about translation service i.e ngx-traslate. Most of the...
Hello dear developers, Today in this post I am going to address most important topic about translation service i.e ngx-traslate. Most of the time you have used ngx-translate service in your Angular app to show localization language. If your app is small then it's pretty simple to implement ngx-translate service by following available ngx-translate documentation.
But in some cases if you are working on large scale app consisting lot of modules and it is using lazy loading module routing strategy then obviously using the translation service which has single en.json (or other) file for the whole app is not a idle way to do it. Because you app is depend on lazy loading module strategy.
So you should have to split this en.json file at module level instead. What do I mean by 'at module level' here is that every module has it's own en.json file which will keep the translations for that particular module only.
Read full article here: https://festack.blogspot.com/2020/03/angular-how-to-package-translation-ngx.html
Data Science, Data Analytics, Big Data, these are the buzz words of today's world. A huge amount of data is being generated and analyzed every day. So communica
Have you been in a situation where you have lazy loaded modules and ngx-translate fails to translate the app in case of translate pipe and translate service.
Angular Ivy makes it pretty easy to lazy load components, but what if we need to lazy load modules. Can we do that? In this article I'll show you why you may need this and how it can be done.
Install Angular in easy step by step process. Firstly Install Node.js & npm, then Install Angular CLI, Create workspace and Deploy your App.
Learn how to lazy load images on a page to increase page loading speed by creating an Angular Directive with Intersection Observer