rxweb icon indicating copy to clipboard operation
rxweb copied to clipboard

Trying to access unsupported language by URL

Open sharifqasrawi opened this issue 3 years ago • 1 comments
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

sharifqasrawi avatar Nov 17 '22 07:11 sharifqasrawi

please share the stackblitz url, if possible

ajayojha avatar Nov 25 '22 05:11 ajayojha