Disabling machine-translated content
Users may not want to see machine-translated (MT) content and may feel more comfortable with browsing data in its original form. That does not mean we use the original texts: a non-MT translation ....Lang.machineTranslated = false
in user's language may be available and it is considered to be fully valid.
- Add a switch to disable/enable MT content (default is enabled) to the "user" menu (before login/logout)
- Use a cookie
NOMT=1
to disable MT, SSR must respectNOMT
cookie - A missing
NOMT
cookie means "use MT content" (current behavior) - Toggling the switch should not reload the page (data is usually available in Redux)
- With
NOMT
the alert/disclaimer saying "This is machine-translated..." is not rendered since we're using only non-MT texts