thanks, I updated to the new 0.9.3 Polylang plugin and pasted the code you created in a polylang_pagelines.php file, and uploaded that to my plugins folder and activated it.
When activating the custom plugin I got the following error code:
The plugin generated 4 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.
The strings that you included in the code do show up on the strings page, Great!!! But when I try to save the translations I get another error:
Warning: Cannot modify header information - headers already sent by (output started at /home/janpeete/domains/janpeeters.nl/public_html/cms/wp-content/plugins/polylang_pagelines.php:1) in /home/janpeete/domains/janpeeters.nl/public_html/cms/wp-includes/pluggable.php on line 881
Also W3 Total Cache is not able to empty it's cache, it just hangs. No idea how that is possible.
Regarding how Pagelines works together with WPML I have no information yet but I'm going to be persistent to get to the bottom of this. I think you have build a great plugin and people deserve alternatives besides WPML.