I resolved by myself.
First of all, I suggest to use the plugin called “Polylang”, a great plugin to translate any part of your site.
With Polylang you can create a page for each language and after you can “connect” every specific page in every specific language.
So, you can put the shortcode of Pie Register in each registration page (one for each language):
[pie_register_form]
Then you need to translate every label field, example:
“Your Name” > “Il tuo Nome”.
To do this you can use if else in php to change css display=inherit/none.
So, in WP backend go to Form Editor, create your form and use <span> for each text, example:
<span>Last Name</span><span>Cognome</span>
<span>English text</span><span>Testo Italiano</span>
Then go to header.php of your theme and put this code in tag <head>:
<?php
$url = 'http://' . $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI']; // url page
if (false !== strpos($url,'en')) { // find str 'en' in url
echo '<style type="text/css">
label span:nth-child(1) { display:inherit; }
label span:nth-child(2) { display:none; }
</style>';
} else {
echo '<style type="text/css">
label span:nth-child(1) { display:none; }
label span:nth-child(2) { display:inherit; }
</style>';
}
?>
Now you’ll see the specific text for each language. 🙂
Sorry for my English, I hope it’s clear.