- สถานะ
- แก้ไขแล้ว
- รายงานสำหรับ
- Gravity Forms Multilingual 1.6.0
- ปลั๊กอิน/ธีมที่เกี่ยวข้อง
- Gravity Forms
ภาพรวมของปัญหา
เมื่อตั้งค่าฟอร์มของ Gravity Forms ผู้ใช้จะมีตัวเลือกในการเพิ่มข้อความแบบกำหนดเองสำหรับ Schedule Pending และ Login Required เมื่อคุณแปลฟอร์ม คุณจะไม่สามารถแปลสตริงข้อความเหล่านั้นได้
วิธีแก้ปัญหาชั่วคราว
เรากำลังดำเนินการแก้ไขปัญหานี้อย่างถาวร ในระหว่างนี้ คุณสามารถทำตามขั้นตอนเหล่านี้เพื่อแก้ไขปัญหา:
- สำรองไฟล์เว็บไซต์และฐานข้อมูลของคุณ
- แก้ไข gravityforms-multilingual/inc/gravity-forms-multilingual.class.php บรรทัดที่ 196 – 210 จาก
protected function get_form_keys() { if ( ! isset( $this->_form_keys ) ) { $this->_form_keys = [ 'limitEntriesMessage', 'scheduleMessage', 'postTitleTemplate', 'postContentTemplate', 'button-imageUrl', 'lastPageButton-text', 'lastPageButton-imageUrl', ]; } return apply_filters( 'gform_multilingual_form_keys', $this->_form_keys ); }เป็น
protected function get_form_keys() { if ( ! isset( $this->_form_keys ) ) { $this->_form_keys = [ 'limitEntriesMessage', 'scheduleMessage', 'requireLoginMessage', 'schedulePendingMessage', 'postTitleTemplate', 'postContentTemplate', 'button-imageUrl', 'lastPageButton-text', 'lastPageButton-imageUrl', ]; } return apply_filters( 'gform_multilingual_form_keys', $this->_form_keys ); } - จากนั้น คุณสามารถปรับเปลี่ยนฟอร์มเล็กน้อยและส่งไปแปลอีกครั้ง