Readonly mode for translator


#1

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


(Jeff Atwood) #2

Can you explain exactly what it is you want to do? I don’t understand.


(Kane York) #3

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


#4

This doesn’t work:

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

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


#5

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?


(Ryan Mulligan) #6

@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.