Angular translation lib by bigBear713.
- Support to direct/lazing loading translation file;
- Support to update translation content in page directly and no need to reload page;
- Support to reset the max retry time when failure to load the translation file;
- Support there are some params in translation sentence;
- Support there are some components in the translation sentence;
- Support the changeDetection of components as
ChangeDetectionStrategy.OnPush; - Support to used in
standalone component; - Support to be imported as a
standalone component;
| @bigbear713/nb-trans | @angular/core |
|---|---|
| ^12.0.0 | ^12.0.0 |
| ^13.0.0 | ^13.0.0 |
| ^14.0.0 | ^14.0.0 |
| ^15.0.0 | ^15.0.0 |
| ^17.0.0 | ^17.0.0 |
| ^18.0.0 | ^18.0.0 |
| ^19.0.0 | ^19.0.0 |
| ^20.0.0 | ^20.0.0 |
$ npm i @bigbear713/nb-trans
// or
$ yarn add @bigbear713/nb-trans- Install the dependencies:
npm i- Build the nb-trans lib
npm run build:lib- Run the nb-trans unit test
npm run test:lib- Start the demo
npm start- build the demo
npm run buildFeature and PR are welcome to make this project better together
MIT