Title: Force Translation
Last modified: March 3, 2021

---

# Force Translation

 *  Resolved [eyecity](https://wordpress.org/support/users/eyecity/)
 * (@eyecity)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/force-translation-2/)
 * I’m using gtranslation with some success but sometimes i have a problem.
    I checked
   the option to automatically switch language according to browser language but
   i want to force always to change the language and not only by switch according
   to browser.
 * It’s possible to always force translation to portuguese language?
 * Regards
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fforce-translation-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [edo888](https://wordpress.org/support/users/edo888/)
 * (@edo888)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/force-translation-2/#post-14128685)
 * Hi,
 * We do not recommend that, you will have issues with user experience and Google
   will not be able to index your original language.
 * If you have reasons to do that and know what you are doing you can simply call:`
   doGTranslate('pt|en')` javascript function after page load, which will convert
   switch Portuguese into English. If you need to allow users to switch between 
   languages, you will need to think the logic to allow that.
 * Thanks! 🙂
 *  Thread Starter [eyecity](https://wordpress.org/support/users/eyecity/)
 * (@eyecity)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/force-translation-2/#post-14128770)
 * First of all thanks for quick answer
 * doGTranslate(‘pt|en’) forces to english or portuguese?
 * I add that line on functons.php? (sorry for my questions)
 *  Plugin Author [edo888](https://wordpress.org/support/users/edo888/)
 * (@edo888)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/force-translation-2/#post-14128790)
 * Portuguese -> English
 * It really depends on your theme. I believe it should go somewhere in the footer
   section. You need to understand what you are doing exactly, if you have doubts
   do not do it. I suggest to consult with a developer, you can easily get into 
   a trouble in terms of SEO. I warned you.
 * Thanks! 🙂
 *  Thread Starter [eyecity](https://wordpress.org/support/users/eyecity/)
 * (@eyecity)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/force-translation-2/#post-14128812)
 * Well probably the solution is to go to a paid plan, there is any possibility 
   to contact you so i can talk about this and find the right solution?
 *  Plugin Author [edo888](https://wordpress.org/support/users/edo888/)
 * (@edo888)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/force-translation-2/#post-14128832)
 * You can talk to our live chat: [https://gtranslate.io/#contact](https://gtranslate.io/#contact)
    -  This reply was modified 5 years, 3 months ago by [edo888](https://wordpress.org/support/users/edo888/).

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Force Translation’ is closed to new replies.

 * ![](https://ps.w.org/gtranslate/assets/icon-256x256.png?rev=2595917)
 * [Translate Wordpress with GTranslate](https://wordpress.org/plugins/gtranslate/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gtranslate/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gtranslate/)
 * [Active Topics](https://wordpress.org/support/plugin/gtranslate/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gtranslate/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gtranslate/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [edo888](https://wordpress.org/support/users/edo888/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/force-translation-2/#post-14128832)
 * Status: resolved