Title: Make content of a &#039;shortcode&#039; translatable through php _e function
Last modified: August 21, 2016

---

# Make content of a 'shortcode' translatable through php _e function

 *  [markusday](https://wordpress.org/support/users/markusday/)
 * (@markusday)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/make-content-of-a-shortcode-translatable-through-php-_e-function/)
 * How do I make the content produced by this shortcode translatable with WPML?
 * <div id=”CSpart2″><?php echo do_shortcode(‘[RICH_REVIEWS_SHOW num=”all”]’);?>
   </div>

Viewing 1 replies (of 1 total)

 *  Moderator [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * (@bcworkz)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/make-content-of-a-shortcode-translatable-through-php-_e-function/#post-4535641)
 * You need to look at the shortcode handler. Find the handler function by finding
   a line of code that looks something like:
    `add_shortcode('RICH_REVIEWS_SHOW','
   shortcode_handler_function');`
 * You will see something besides `'shortcode_handler_function'`. Whatever is actually
   there is the handler function name. It’s function declaration is what you want
   to look at.

Viewing 1 replies (of 1 total)

The topic ‘Make content of a 'shortcode' translatable through php _e function’ is
closed to new replies.

## Tags

 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 1 reply
 * 2 participants
 * Last reply from: [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/make-content-of-a-shortcode-translatable-through-php-_e-function/#post-4535641)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
