1.0.1 • Published 1 year ago
rk-translate-lib v1.0.1
TranslateLib
This library was generated with Angular CLI version 14.2.0.
Running and Using this library
- Run
npm i rk-translate-lib
- Add
TranslateModule
in your module.After importing this module you should create a json file which used in translation process. For example language.json file is provided in lib\assets\language.json and you can use it for instance. If you dont put your file in assets folder of your project, you should pass the address of it usingconfig
method:TranslateModule.config(<your-json-file>)
- You have
translateTo
(directive),translatePipe
(pipe),translateService
(service) and you can import them fromrk-translate-lib
and use independently. - Use
<translate>
tag in order to add your languages in your porject.
Further help
Please let us know your requests,questions and suggestions. We'll check them as soon as possible. This is our first library published on NPM. Our contact info : rasool.kakaee@gmail.com,h.sinapour@gmail.com LinkedIn: Rasool_Kakaee