David Gilson
David Gilson
Doesn't look's like a bug for me. How localize-route find language : 1. From url (availability : browser + server) 2. From cache (availability: browser) because the server is fully...
@kamilchlebek ngx-translate-router is now compatible AOT and Universal on Angular 8 with the version 2.0.1
@BruneXX Keep in mind this library (localize-router) doesn't currently support Angular 8. The deprecated loadChildren syntax is no longer available if you are using my fork (ngx-translate-router). `loadChildren: './components/auth/auth.module#AuthModule'`. Use...
@BruneXX If you don't specify it's a root path, the lib will not add lang. You probably have to use: `const translatedPath = this.localize.translateRoute('/my-route/test') as string;` For the rest it's...
# Solution I created a module loader that is a merge between yours and the Universal one: https://github.com/gilsdav/universal-localize-module-loader
Hello @meeroslav, you are right I will update my repo to create a npm package. It will be more easy to use.
@meeroslav done on my repo : https://github.com/gilsdav/universal-localize-module-loader and on NPM : https://www.npmjs.com/package/localize-router-lazy-universal-module-loader . I chose a name that fits better with your library. Thank's again for your amazing works on...
@Chervychnyk You can take a look at this working example : https://github.com/gilsdav/angular-universal-localize-router
@Roelensdam Problem fixed on angular 6 fork https://www.npmjs.com/package/@gilsdav/ngx-translate-router @Greentube you can check what changed here: https://github.com/gilsdav/ngx-translate-router/commit/de42217aeb349e3adc577a490bf6ddefb22e42f0
@meeroslav Some bugs that are no more on my repo but still in 2.0.0-RC.1: - If sub route is "" (empty string) changing langue will not found path so redirect...