Readonly mode for Google translate

Is it possible to add a parameter to the url, so the online website google translator can translate a Discoure page?

This doesn’t work:

https://translate.google.com/translate?hl=en&sl=en&tl=de&u=https%3A%2F%2Fmeta.discourse.org%2Ft%2F-%2F32056&sandbox=1

Is it possible to get a link with a translated page somehow else? in Firefox? without plugin?

1 Like

The “translate to {language}” function built into Chrome works fine on Discourse IIRC.

1 Like

I found out, that that link works fine, if you disable javascript completely, so discourse seems to serve the javascript version to google translator

could you add a get-option to enable noscript view of a page?

1 Like

@riking is right that the built in function works fine, but sometimes people use https://translate.google.com/ and translating this thread to Chinese, for example, ends up looking quite empty:

https://translate.google.com/translate?hl=en&sl=en&tl=zh-CN&u=https%3A%2F%2Fmeta.discourse.org%2Ft%2Freadonly-mode-for-translator%2F32056

It also generates entries in the forum logs.

1 Like