Angular
-
How to Add Internationalization (Translations) in Angular — Backend Integration and Lazy-loaded Modules
In a previous post, we introduced the basics for how to set up the ngx-translate library and use it in a simple Angular project. The translations were obtained from static JSON files. However, in production, the translations normally need to be fetched dynamically from a database. Besides, there will be lazy-loaded modules in a bigger… Continue reading
-
How to Add Internationalization (Translations) in Angular — Basics
It is cumbersome to add translations to an Angular project with the built-in i18n functionality of Angular because you need to manage multiple messages.xlf files and add translations to each of them, which is difficult to maintain. On the other hand, the ngx-translate library is much easier to use and the translations can be added… Continue reading
-
How to Create a Simple Dialog Box with Angular Material
In a web application, dialog boxes are convenient tools to interact with users. It can attract users’ attention if used properly and will make your webpage look neat. It needs some advanced CSS knowledge if you want to build a dialog box from scratch. However, using a framework like Angular, creating dialog boxes is a… Continue reading