Gladitor
Gladitor

Reputation: 136

how to translate routes on angular 18 with built-in i18n

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

Answers (0)

Related Questions