gilsdav / ngx-translate-router

Translate routes using ngx-translate
131 stars 43 forks source link

Weird issue with URL parsing #165

Open gizbo opened 2 months ago

gizbo commented 2 months ago

Hello guys,

I have 3 languages: en, fr, and es. The translations work fine using ngx-translate, and the URLs are all getting localized and everything. However, if I try entering a Spanish URL, it doesn't work at all and redirects to the default 404 page in English. French and English seem to be the only ones supported. Do I have to explicitly register the prefixes ['en', 'es', 'fr']?

Thanks so much.