Reputation: 136
I'm building an Angular 18 application and need to implement routing with language-specific paths. I want to use Angular's built-in i18n (internationalization) features to translate route paths based on the selected language (e.g., /en/login, /fr/se-connecter). How can I configure my routes to dynamically translate paths based on the current language, using Angular’s built-in i18n?
Could someone provide guidance or best practices for achieving this in Angular 18? :)
Upvotes: 3
Views: 120