I am developing a multilingual site in Drupal 8. I added content in Turkish and I didn't create any translation for that node.
I managed to redirect user to the path alias. For example, when users visit https://example.com/tr/node/123, they are redirected to https://example.com/tr/custom-node-in-turkish.
When users visit https://example.com/node/123 or https://example.com/ar/node/123, they should be redirected to the 404 page.
How can I achieve this in Drupal 8?