Title: Translate code snippet
Last modified: October 25, 2022

---

# Translate code snippet

 *  [tottello](https://wordpress.org/support/users/tottello/)
 * (@tottello)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/translate-code-snippet/)
 * Hello,
 * I have some HTML content in snippet.
 * Is it possible to translate it with WPML? How?
 * Snippet is placed in theme php file and I don’t want to make if’s and multiple
   code snippets.

Viewing 1 replies (of 1 total)

 *  [Temyk](https://wordpress.org/support/users/webtemyk/)
 * (@webtemyk)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/translate-code-snippet/#post-16134226)
 * Hello.
 * I do not know how translations work in WPML, but I think it is possible. WPML
   supports custom post types

Viewing 1 replies (of 1 total)

The topic ‘Translate code snippet’ is closed to new replies.

 * ![](https://ps.w.org/insert-php/assets/icon-256x256.gif?rev=3523853)
 * [Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts](https://wordpress.org/plugins/insert-php/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/insert-php/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/insert-php/)
 * [Active Topics](https://wordpress.org/support/plugin/insert-php/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/insert-php/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/insert-php/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Temyk](https://wordpress.org/support/users/webtemyk/)
 * Last activity: [3 years, 7 months ago](https://wordpress.org/support/topic/translate-code-snippet/#post-16134226)
 * Status: not resolved