-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
translate client routes #14
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Routes are fixed in english, however, we should have routes defined for the user's current language and they should also be interchangeable, for example:
/lesson/:lessonId
/unterricht/:lessonId
As shown above, the translation should not affect the route parameters (here:
:lessonId
) as they are converted to the corresponding parameter value (here: the _id of the lesson to enter).If a user enters a route of foreign language then they should still land on the correct page. One approach to implement this would be to
The text was updated successfully, but these errors were encountered: