Sale
Polylang Multilingual WordPress Forms with Formidable
Create bilingual or multilingual forms with help from Polylang. Polylang is a free WordPress translation plugin that many rave about.
Create bilingual or multilingual forms with help from Polylang. Polylang is a free WordPress translation plugin that many rave about.
Rs3,198.00 Original price was: Rs3,198.00.Rs410.00Current price is: Rs410.00. for 1 year
Price is in US dollars and excludes tax and handling fees
Verified From
Create bilingual or multilingual forms with help from Polylang. Polylang is a free WordPress translation plugin that many rave about.
It’s easy to use the same form in multiple languages while keeping all your collected data in one place. Get started with Formidable Forms today!
Translate your forms into multiple languages using Polylang and the Formidable Polylang add-on.
After the Polylang plugin and the Formidable Polylang add-on are activated, you may follow the steps below to translate your forms.
In order to send the email for the correct language, you’ll set up multiple emails. Each of these emails will be sent conditionally, based on the language submitted.
add_shortcode('get_current_language', 'polylang_get_lang'); function polylang_get_lang() { return pll_current_language('slug'); }
You may want to translate a value before display. If you have already translated field labels and options, there is no need to translate them again. In a view, you can use [translate_value value=”[25]”] or [translate_value value=”[25 show=field_label]”]. Be sure to add the following code to your site.
add_shortcode( 'translate_value', 'trans_val_func' ); function trans_val_func( $atts, $content = '' ) { $atts = shortcode_atts( array( 'value' => '' ), $atts ); $value = pll__( $atts['value'] ); return $value; }
Formidable doesn’t manage the translations when importing/exporting forms. You can import and export string translations directly in Polylang.
Use this code example to translate the “The username field is empty” error message when Polylang is active and not set to English. It uses a custom function get_custom_login_message that returns a French translation.
add_filter('frmreg_login_error', 'translate_pll_login_error'); function translate_pll_login_error( $message ) { if ( ! function_exists( 'pll_current_language' ) ) { return $message; } if ( 'The username field is empty.' === $message ) { $current_language = pll_current_language(); if ( 'en' !== $current_language ) { $custom_message = get_custom_login_message( $current_language ); if ( false !== $custom_message ) { $message = $custom_message; } } } return $message; } function get_custom_login_message( $language ) { switch ( $language ) { case 'fr': return "Le champ du nom d'utilisateur est vide."; } return false; }
Many issues with translations can be resolved by making sure to set different saved values for option fields like checkboxes, radio buttons, and dropdowns. Learn more about adding separate saved values.
Only logged in customers who have purchased this product may leave a review.
No account yet?
Create an Account
Reviews
Clear filtersThere are no reviews yet.