Questo utente non ha argomenti preferiti.
Argomenti preferiti del forum
Argomenti del forum creati
Stato |
Argomento
|
Sostenitore | Voci | Messaggi | Freschezza |
---|---|---|---|---|---|
How to translate “Add/Remove” Repeater labels in WPForms
Iniziato da: dominikN-6
in: English Support
Problem: If you're unable to locate where to translate the 'Add/Remove' Repeater labels in WPForms using WPML, follow these steps. Solution: 1) Navigate to the wp-content/plugins/wpml-wpforms folder. wpml-forms-config.xml file for editing. <property>value_display</property> To: <property>value_display</property> <property>button_add_label</property> <property>button_remove_label</property> 5) Go to WPForms >> All Forms. Please ensure to perform a full site backup before applying these changes. If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If further assistance is needed, please open a new support ticket at WPML support forum. |
|
1 | 15 | 3 settimana, 2 giorno fa | |
Bug appearing in really specific combination – WPML, WPForms Multilang and Select form element in Re…
Iniziato da: dominikN-6
in: English Support
Problem: foreach ( $fields as $key => &$field ) { $field['name'] = $formPostFields[ $key ]['label']; $entryFields = Obj::propOr( [], 'fields', $entry ); if ( array_key_exists( $key, $entryFields ) ) { $field['value'] = $this->getFieldValue( $field, $entry['fields'][ $key ], $formPostFields[ $key ], $translatedFields[ $key ] ); } } with: foreach ( $fields as $key => &$field ) { $key = strpos( $key, '_' ) !== false ? substr( $key, 0, strpos( $key, '_' ) ) : $key; $field['name'] = $formPostFields[ $key ]['label']; $entryFields = Obj::propOr( [], 'fields', $entry ); if ( array_key_exists( $key, $entryFields ) ) { $field['value'] = $this->getFieldValue( $field, $entry['fields'][ $key ], $formPostFields[ $key ], $translatedFields[ $key ] ); } } Please ensure to test this change on a staging site before applying it to your live environment. If this solution does not resolve your issue, or if it seems outdated or irrelevant to your specific case, we highly recommend opening a new support ticket. Also, check the related known issues and confirm that you have installed the latest versions of themes and plugins. |
|
0 | 22 | 1 mese, 3 settimana fa |