Support » Plugins » using google translate directly

  • The company I am working for wants the website to be available in multiple languages, but do not want to use a translation plugin or separate pages. On strictly html sites, I have in the past used the google translate dropdown thing. In my mind, this should work, but I cannot for the life of me find where to put it in the wordpress files. one portion of the script needs to go in the <head></head> tag, and the other portion must go in the body. I can get the body, but not the head portion. In which file should i put this so it will work? I know this is not supported on wordpress.com, but since this is a self-hosted site it should work, correct?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The head section of the page is in the header.php file – however, it’s not generally advisable to modify theme files as your changes will be lost when the theme is updated – instead do so using a Child Theme –

    http://codex.wordpress.org/Child_Themes

    Thread Starter JPeroutek

    (@jperoutek)

    The theme the company uses is a “premium” paid theme, so I do not intend on modifying it. I really just want to edit the core wordpress code.

    Modifying “core” is NEVER a good idea. And as I said, the <head> tags are in the header.php file of the theme. But as it’s a commercial theme, they’d be the ones to ask about this.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘using google translate directly’ is closed to new replies.