0.0.5 • Published 9 months ago

transloco-routing-translate v0.0.5

Weekly downloads
7
License
MIT
Repository
github
Last release
9 months 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

9 months ago

0.0.4

9 months ago

0.0.3

9 months ago

0.0.2

9 months ago

0.0.0

9 months ago

0.0.1

9 months ago