Title: Parse Error
Last modified: August 19, 2016

---

# Parse Error

 *  [JohnWinch](https://wordpress.org/support/users/johnwinch/)
 * (@johnwinch)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/parse-error-73/)
 * Hello,
 * I’ve installed the plug-in Translate ( [http://wordpress.org/extend/plugins/translate/](http://wordpress.org/extend/plugins/translate/)),
   I wanted to translate a part of my single.php and I’ve applied the code like 
   it’s described here : [http://www.misternifty.com/translate/](http://www.misternifty.com/translate/)
   
   This plug-in looks fantastic and would fit perfectly my translations needs.
 * Here’s my code
 *     ```
       <?php translate_text(‘lang=French| text=<p class="postinfo">Par <?php the_author_posts_link(); ?> le <?php the_time('M d, Y') ?> avec <a href="<?php comments_link(); ?>"><?php _e('Comments'); ?> <?php comments_number('0','1','%'); ?></a></p>’) ?>
   
       <?php translate_text(‘lang=English| text=<p class="postinfo">By <?php the_author_posts_link(); ?> on <?php the_time('M d, Y') ?> with <a href="<?php comments_link(); ?>"><?php _e('Comments'); ?> <?php comments_number('0','1','%'); ?></a></p>’) ?>
       ```
   
 * When I want to access my posts I have a Parse error: parse error in D:\wamp\www\
   blog\wp-content\themes\chatter_child\single.php on line 25
 * The line 25 is where the php translate begins.
    What is wrong with my code, do
   you have any clues to help me ?
 * Thanks you for your help.
 * Best regards,

The topic ‘Parse Error’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [JohnWinch](https://wordpress.org/support/users/johnwinch/)
 * Last activity: [15 years, 8 months ago](https://wordpress.org/support/topic/parse-error-73/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
