@rxap/ngx-localize
v19.2.0-dev.2
Published
This package provides internationalization (i18n) support for Angular applications, including services for language management, an HTTP interceptor for setting the `Accept-Language` header, and a language selector component. It allows you to set and manag
Readme
This package provides internationalization (i18n) support for Angular applications, including services for language management, an HTTP interceptor for setting the `Accept-Language` header, and a language selector component. It allows you to set and manage the current language of your application, redirect users based on their language preference, and configure available languages. The package also includes an init generator to handle peer dependencies.
Installation
Add the package to your workspace:
yarn add @rxap/ngx-localizeInstall peer dependencies:
yarn add @angular/common @angular/core @rxap/config @rxap/ngx-user rxjs Execute the init generator:
yarn nx g @rxap/ngx-localize:initGenerators
init
Initialize the package in the workspace
nx g @rxap/ngx-localize:init