Title: SHortcode for WPML
Last modified: August 30, 2016

---

# SHortcode for WPML

 *  Resolved [Meijestic](https://wordpress.org/support/users/meijestic/)
 * (@meijestic)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/shortcode-for-wpml/)
 * Hello
 * i use the **WPML Plugin** to translate my Website. For the German Language i 
   use the Shortcode like this.
 * **[insert page=’matteboxen’ display=’content’]**
 * Everythink works fine.
 * Now i want to do this with my English Site.
    I try this **[insert page=’matteboxen?
   lang=en’ display=’content’]**
 * but it doesnt work.
 * So how is the correct shortcode to insert translated pages?
 * Thanks a lot.
 * [https://wordpress.org/plugins/insert-pages/](https://wordpress.org/plugins/insert-pages/)

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/shortcode-for-wpml/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/shortcode-for-wpml/page/2/?output_format=md)

 *  Plugin Author [Paul Ryan](https://wordpress.org/support/users/figureone/)
 * (@figureone)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/shortcode-for-wpml/#post-6328537)
 * I think the easiest would be similar to this:
    [https://wpml.org/documentation/plugins-compatibility/using-contact-form-7-with-wpml/](https://wpml.org/documentation/plugins-compatibility/using-contact-form-7-with-wpml/)
 * Instead of using the slug in [insert page=”slug”], try using the page ID. Your
   original page and your translated page should have two different page IDs, so
   this gets you around the problem of getting Insert Pages to recognize the lang
   =en querystring portion.
 * Example:
    German: [insert page=’5′ display=’content’] English: [insert page=’
   11’ display=’content’] Assuming the page ID of matteboxen is 5, and the page 
   ID of matteboxen?lang=en is 11.
 * You can see the page ID in the URL when you are editing the page. For example:
   
   example.com/wp-admin/post.php?post=11&action=edit
 *  Thread Starter [Meijestic](https://wordpress.org/support/users/meijestic/)
 * (@meijestic)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/shortcode-for-wpml/#post-6328547)
 * so thanks for your reply. unfortunately your workaround doesnt work. if i use
   a id from a english site there is only a blank screen. If i use the same shortcode
   with a id of a german site the code works very well. So is there any other solution
   for my issue?
 * Thanks a lot
 *  Plugin Author [Paul Ryan](https://wordpress.org/support/users/figureone/)
 * (@figureone)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/shortcode-for-wpml/#post-6328571)
 * I think I will have to modify the Insert Pages plugin to recognize the way WPML
   does translations (since it seems to rely on a querystring parameter to select
   a language). I’m hopeful that I can get to this sometime in August.
 *  Thread Starter [Meijestic](https://wordpress.org/support/users/meijestic/)
 * (@meijestic)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/shortcode-for-wpml/#post-6328576)
 * So thanks for your answer. I have talk with the wmpl team too. They have a Go
   global programm that will help developers.
 * [https://wpml.org/de/forums/topic/use-insert-pages-plugin-doesnt-work-with-english-sites/](https://wpml.org/de/forums/topic/use-insert-pages-plugin-doesnt-work-with-english-sites/)
 * Is there any posibility to develope a special version of your plugin? I will 
   pay for it.
 * Thanks
 *  Plugin Author [Paul Ryan](https://wordpress.org/support/users/figureone/)
 * (@figureone)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/shortcode-for-wpml/#post-6328586)
 * No money required, the plugin has been developed at an educational institution
   so I want to keep it free. Just have to find the time to fit in the work. 🙂
 * Please tell your WPML contact to get in touch with me via the issue I’ve started
   for this:
    [https://bitbucket.org/figureone/insert-pages/issues/12/integrate-wpml-multilingual-support-into](https://bitbucket.org/figureone/insert-pages/issues/12/integrate-wpml-multilingual-support-into)
 * I will coordinate with them to get started. I’ll keep this ticket open until 
   the feature gets integrated.
 * Thanks!
 *  [Nico](https://wordpress.org/support/users/kodak2305/)
 * (@kodak2305)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/shortcode-for-wpml/#post-6328617)
 * Hi!
 * Could you make any progress on the issue?
    I tried to fix it by myself with
 * `icl_object_id($pageid, 'page', false);`
 * but couldn’t get it working :-/
    Would be awesome if you could implement it or
   provide a workaround. We have a website with 130pages and are struggling with
   the translation/WPML now…
 * Thanks!
 *  Plugin Author [Paul Ryan](https://wordpress.org/support/users/figureone/)
 * (@figureone)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/shortcode-for-wpml/#post-6328618)
 * Still waiting on WPML team to contact me…
 *  [Nico](https://wordpress.org/support/users/kodak2305/)
 * (@kodak2305)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/shortcode-for-wpml/#post-6328619)
 * I think you have to do the first step…
 * Please provide them with the needed data as stated on their Go-Global Program
   site:
 * [https://wpml.org/documentation/theme-compatibility/go-global-program/#contact](https://wpml.org/documentation/theme-compatibility/go-global-program/#contact)
 * I would like to help more but you (as the plugin author) have more expertise 
   to do this…
 * Thanks!
    Nico
 *  Plugin Author [Paul Ryan](https://wordpress.org/support/users/figureone/)
 * (@figureone)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/shortcode-for-wpml/#post-6328620)
 * I pinged them again, thanks for the reminder.
 *  [Nico](https://wordpress.org/support/users/kodak2305/)
 * (@kodak2305)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/shortcode-for-wpml/#post-6328621)
 * Great to hear!
    Hope they will get in touch with you soon. The insert pages plugin
   is really cool, would be great to see WPML support added…
 *  [tavolucas](https://wordpress.org/support/users/tavolucas/)
 * (@tavolucas)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/shortcode-for-wpml/#post-6328623)
 * Hello you have already found the solution to this? I have the same issue. infinitely
   appreciate they could find a solution. “insert page is for me a impresindible
   plugin but can not use it with wpml . Thanks in advance.
 *  Plugin Author [Paul Ryan](https://wordpress.org/support/users/figureone/)
 * (@figureone)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/shortcode-for-wpml/#post-6328626)
 * Still working on this. Latest from the WPML team:
 * > I am processing your application and you will be contacted by our developers
   > shortly. Our queue is a bit long right now but please bear with us while we
   > process the previous ones.
 *  [Nico](https://wordpress.org/support/users/kodak2305/)
 * (@kodak2305)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/shortcode-for-wpml/#post-6328627)
 * cool, thanks for the update!
 *  Plugin Author [Paul Ryan](https://wordpress.org/support/users/figureone/)
 * (@figureone)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/shortcode-for-wpml/#post-6328631)
 * Hi Meijestic, I’m currently configuring a test site with the WPML team, and have
   a few questions for you.
 * My basic setup is a vanilla WordPress site with a “Hello world!” post and a “
   Sample Page” page. The Sample Page includes an inserted page for Hello world,
   like so:
 * > I am embedding the “Hello world!” post on this page:
   >  [insert page=’hello-world’
   > display=’title’]
 * I have also created a Spanish translation of each, so the Spanish translation
   of Sample Page looks like so:
 * > Estoy incrustar el “¡Hola, mundo!” publicar en esta página:
   >  [insert page=’
   > hola-mundo’ display=’title’]
 * You can see Sample Page here:
    [http://theme-testing.wpml.org/plugin-insertpages/sample-page/](http://theme-testing.wpml.org/plugin-insertpages/sample-page/)
 * Try toggling the language in the left sidebar–it all seems to work fine to me.
   Can you explain what isn’t working for you? If it relies on a custom configuration
   of WPML, can you explain that to me as well?
 *  Plugin Author [Paul Ryan](https://wordpress.org/support/users/figureone/)
 * (@figureone)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/shortcode-for-wpml/#post-6328639)
 * Working with the WPML team now. Getting close to a solution.

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/shortcode-for-wpml/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/shortcode-for-wpml/page/2/?output_format=md)

The topic ‘SHortcode for WPML’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/insert-pages.svg)
 * [Insert Pages](https://wordpress.org/plugins/insert-pages/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/insert-pages/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/insert-pages/)
 * [Active Topics](https://wordpress.org/support/plugin/insert-pages/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/insert-pages/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/insert-pages/reviews/)

 * 16 replies
 * 4 participants
 * Last reply from: [Paul Ryan](https://wordpress.org/support/users/figureone/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/shortcode-for-wpml/page/2/#post-6328640)
 * Status: resolved