Google Translate Query Parameters Explained

Practical notes on common Google Translate request parameters.

Endpoint: https://translate.google.cn/translate_a/single

Common parameters:

  • client: request client type
  • sl: source language (auto for auto-detect)
  • tl: target language
  • hl: UI language
  • q: text to translate
  • tk: token
  • ie / oe: input/output encoding
  • dt: response detail selector (t, at, etc.)
记录并分享
Built with Hugo
Theme Stack designed by Jimmy