Title: mqTranslate code in functions.php
Last modified: August 22, 2016

---

# mqTranslate code in functions.php

 *  Resolved [mordecai34](https://wordpress.org/support/users/mordecai34/)
 * (@mordecai34)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/mqtranslate-code-in-functionsphp-2/)
 * Hello,
 * I am wondering how to insert following code into functions.php file without corrupting
   it (and to actually work of course):
 * > <?php _e(“<!–:ge–>some text<!–:–><!–:en–>some text<!–:–>”); ?>
 * This code translates text in Read more button in dependance of the language chosen
   by the visitor. It works fine in other .php files but I guess because of the 
   opening and closing php tag doesn’t work in functions.php
 * Thanks in advance 🙂
 * [https://wordpress.org/plugins/mqtranslate/](https://wordpress.org/plugins/mqtranslate/)

The topic ‘mqTranslate code in functions.php’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/responsive/6.3.8/screenshot.png)
 * Responsive
 * [Support Threads](https://wordpress.org/support/theme/responsive/)
 * [Active Topics](https://wordpress.org/support/theme/responsive/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/responsive/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/responsive/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [mordecai34](https://wordpress.org/support/users/mordecai34/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/mqtranslate-code-in-functionsphp-2/)
 * Status: resolved