rxweb
rxweb copied to clipboard
Trying to access unsupported language by URL
trafficstars
Describe the problem statement?
My website has only 2 languages (fr,en), but if someone tries to change the language directly in the URL like adding /es, the app crashes because the language file for "es" does not existe.
The expected solution you would like
a solution would be to redirect to /fr if the user enters enything but fr,en.
Package version
@rxweb/translate 1.0.15
please share the stackblitz url, if possible