Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@codeqo/cq-ngx-translate-routes

stefanarts2MIT1.0.1TypeScript support: included

A package to translate title and route path (Customized by Stefan H.)

cdq-ngx-translate-routes, angular translate title, angular translate route

readme

cq-ngx-translate-routes

Disclaimer

This is a modified version of: https://www.npmjs.com/package/ngx-translate-routes

Full Documentation can be found on the base package page

Added Features

  • Add a suffix with a specified application name to every title.

Dependencies

Latest version available for each version of Angular

| cq-ngx-translate | Angular |

|------------------|---------------|

| 1.0.0 | 14.x |

Install


npm install cq-ngx-translate-routes --save

@ngx-translate package is a required dependency


npm install @ngx-translate/core --save

npm install @ngx-translate/http-loader --save

Follows this link for more information about ngx-translate:

https://github.com/ngx-translate/core

Changes to the base package

You are able to add another variable to the config called applicationName


NgxTranslateRoutesModule.forRoot({

applicationName: 'DemoApplication'

})

A suffix of | applicationName will be added to every title.

License

MIT


Codeqo Git @stefanarts  ·  GitLab @darioegb  ·