Translate9/4/2023 ![]() ![]() If you need localized urls (for example /fr/page and /en/page). Localize Router by An implementation of routes localization for Angular.If you want to reload the translations and see the update on all your components without reloading the page, you have to load the translations manually and call setTranslation function which triggers onTranslationChange. I want to hot reload the translations in my application but reloadLang does not work If it's not an option for you, then check the changelog to know which version is the last compatible version for you. Often it is because Angular had a breaking changes. There is always a reason when I upgrade the minimum dependencies of the library. If you're using an old version of Angular and ngx-translate requires a newer version then you should consider upgrading your application to use the newer angular 2 version. If you're already on npm 3, check if it's an error ( npm ERR!) or a warning ( npm WARN!), warning are just informative and if everything works then don't worry ! With npm 2 you could only use fixed versions, but with npm 3 you can use ^ to use a newer version if available. If you're using npm 2.x, upgrade to npm 3.x, because npm 2 doesn't handle peer dependencies well. NgModule (, 'key1.keyA') => 'valueI'įAQ I'm getting an error npm ERR! peerinvalid Peer
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |