0.0.5 • Published 4 years ago

transloco-routing-translate v0.0.5

Weekly downloads
11
License
MIT
Repository
github
Last release
4 years ago

‼️‼️‼️ The library is in an early development stage, so not recommended using in production for now ‼️‼️‼️

Transloco Routing Translate

The library makes prefixes in url for all langs used with @ngneat/transloco

Installation

1. Get the package:

npm install transloco-routing-translate

2. Import the library in a AppModule:

imports: [
  ...
  AppRoutingModule,
  TranslocoRoutingTranslateModule.forRoot({defaultLangPrefix: true}),
]

3. Pass configuration object to forRoot() method:

  • defaultLangPrefix: boolean - if false prefix will not be created for default language.
  • exludedPaths: string[] - array of paths that should be not prefixed
0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago

0.0.0

4 years ago

0.0.1

4 years ago