Formidable PRO
เริ่มโดย: mathijsB
ใน: English Support
มีวิธีแก้ปัญหาด่วน
Problem:
Would you please help us in translating the interactive forms with Formidable PRO addon? We have tried already below solutions, none of them worked.
Solution:
It seems that the glue plugin between WPML and Formidable was not made to have the placeholder string available for translation.
Now, can you go to wp-content/plugins/formidable-wpml/controllers folder, edit the FrmWpmlAppController.php file, and make a change on line 606, please?
Basically, just change the code from this:
$keys = array(
'name', 'description', 'default_value',
'required_indicator', 'invalid', 'blank',
'unique_msg',
);
to this:
$keys = array(
'name', 'description', 'default_value',
'required_indicator', 'invalid', 'blank',
'unique_msg', 'placeholder',
);
As you can see, now the placeholder is added to that array so it can be made available for translation.
Relevant Documentation:
https://wpml.org/documentation/plugins-compatibility/how-to-translate-formidable-forms-with-wpml/
https://wpml.org/forums/topic/formidable-placeholder-text/
2
6
4 years, 11 months มาแล้ว
Radu
Add to cart button causes site language to change
เริ่มโดย: anthonyW-6
ใน: English Support
มีวิธีแก้ปัญหาด่วน
3
6
4 years, 11 months มาแล้ว
anthonyW-6
As soon as I change the headers config, I get this message
เริ่มโดย: alexD-36
ใน: English Support
มีวิธีแก้ปัญหาด่วน
Problem:
HTTP Headers plugin - Call to a member function switch_to_locale() when String Translation is active
https://wordpress.org/plugins/http-headers/
Solution:
1. Take a backup of your site in case something goes wrong.
2. Edit with code editor the following file in the HTTP Headers plugin folder.
/wp-content/plugins/http-headers/http-headers.php
3. Replace the following lines 1417/1418
add_action("added_option", 'http_headers_option');
add_action("updated_option", 'http_headers_option');
with:
add_action("added_option", function() {
add_action('admin_init', 'http_headers_option');
add_action("updated_option", 'http_headers_option');});
4. This should solve the fatal error issue when saving the HTTP Headers options.
2
11
4 years, 11 months มาแล้ว
alexD-36