Title: projects &amp; polylang
Last modified: August 31, 2016

---

# projects & polylang

 *  [maronus](https://wordpress.org/support/users/maronus/)
 * (@maronus)
 * [10 years ago](https://wordpress.org/support/topic/projects-polylang/)
 * It looks like Projects can not figure out to shift properly between the translations
   on the frontend. No projects will show except by using shortcode.
 * Is there a way to get projects working with polylang plugin activated? For example
   by plugin alteration like Jesper Lund Nielsen suggested for Woocommerce, a filter
   or any other way?
 * [https://wordpress.org/plugins/projects-by-woothemes/](https://wordpress.org/plugins/projects-by-woothemes/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [maronus](https://wordpress.org/support/users/maronus/)
 * (@maronus)
 * [10 years ago](https://wordpress.org/support/topic/projects-polylang/#post-7390157)
 * Thanks to Darko Gjorgjijoski:
 *     ```
       <?php
       /**
        * Plugin Name: Projects Polylang Integration
        * Description: Integrates Polylang with Projects-by-woothemes
        */
   
       // No direct access
       defined('ABSPATH') or die("No script kiddies please!");
   
       // Only initialize the plugin if projects is active!
       if ( in_array( 'projects-by-woothemes/projects.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) )
       {
       	if (function_exists('pll_get_post')) // is Polylang activated?
       	{
       	        add_filter('projects_get_page_id', 'pll_projects_get_page_id');
   
       		function pll_projects_get_page_id($id)
       		{
       			return pll_get_post($id); // translate the page to current language
       		}
       	}
       }
   
       ?>
       ```
   
 * Go to Dashboard > Settings > Languages > Settings and mark the checkbox for Custom
   post types => Projects

Viewing 1 replies (of 1 total)

The topic ‘projects & polylang’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/projects-by-woothemes_d2e5ef.svg)
 * [Projects by WooThemes](https://wordpress.org/plugins/projects-by-woothemes/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/projects-by-woothemes/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/projects-by-woothemes/)
 * [Active Topics](https://wordpress.org/support/plugin/projects-by-woothemes/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/projects-by-woothemes/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/projects-by-woothemes/reviews/)

## Tags

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

 * 1 reply
 * 1 participant
 * Last reply from: [maronus](https://wordpress.org/support/users/maronus/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/projects-polylang/#post-7390157)
 * Status: not resolved