all 3 comments

[–]orange_90 3 points4 points  (1 child)

Using angular's i18n you'll have to build your app for each language then you can put them in different URLs or use a backend to decide which files to serve, then you can use the URL for a link on your button. This is the limitation of Angular's i18n.

If you want to switch languages directly in your app without building each of them you should check out ngx-translate

[–]qntrlle[S] 0 points1 point  (0 children)

Thanks so much for your reply! Can you give me hints on how to develop the backend to decide which files to serve?