WPML
Trạng thái
Đã giải quyết
Được báo cáo cho
Gravity Forms Multilingual 1.6.0
Plugin/giao diện liên quan
Gravity Forms

Tổng quan về lỗi

Khi thiết lập biểu mẫu Gravity Forms, người dùng có tùy chọn thêm các thông báo tùy chỉnh cho Schedule PendingLogin Required. Khi bạn dịch biểu mẫu, bạn sẽ không thể dịch các chuỗi văn bản đó.

Giải pháp tạm thời

Chúng tôi đang làm việc để tìm ra cách khắc phục vĩnh viễn cho vấn đề này. Trong thời gian chờ đợi, bạn có thể làm theo các bước sau để khắc phục sự cố:


  1. Sao lưu các tệp và cơ sở dữ liệu trang web của bạn.

  2. Sửa đổi gravityforms-multilingual/inc/gravity-forms-multilingual.class.php Dòng 196 – 210 Từ
    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 );
    	}

    Thành

    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 );
    	}


  3. Sau đó, bạn có thể sửa đổi một chút biểu mẫu và gửi lại để dịch.

Tất cả các lỗi đã ghi nhận →