Title: using google translate directly
Last modified: August 21, 2016

---

# using google translate directly

 *  [JPeroutek](https://wordpress.org/support/users/jperoutek/)
 * (@jperoutek)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/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)

 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/using-google-translate-directly/#post-3934818)
 * 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](http://codex.wordpress.org/Child_Themes)
 *  Thread Starter [JPeroutek](https://wordpress.org/support/users/jperoutek/)
 * (@jperoutek)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/using-google-translate-directly/#post-3934832)
 * 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.
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/using-google-translate-directly/#post-3934834)
 * 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.

## Tags

 * [code](https://wordpress.org/support/topic-tag/code/)
 * [file](https://wordpress.org/support/topic-tag/file/)
 * [language](https://wordpress.org/support/topic-tag/language/)
 * [Modify](https://wordpress.org/support/topic-tag/modify/)

 * 3 replies
 * 2 participants
 * Last reply from: [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * Last activity: [12 years, 11 months ago](https://wordpress.org/support/topic/using-google-translate-directly/#post-3934834)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
