- 상태
- 해결됨
- 보고된 제품
- Gravity Forms Multilingual 1.6.0
- 관련 플러그인/테마
- Gravity Forms
문제 개요
Gravity Forms 양식을 설정할 때 사용자는 일정 대기 중 및 로그인 필수에 대한 사용자 정의 메시지를 추가할 수 있는 옵션이 있습니다. 양식을 번역할 때 해당 문자열은 번역할 수 없습니다.
임시 해결 방법
이 문제에 대한 영구적인 해결 방법을 준비 중입니다. 그동안 다음 단계에 따라 문제를 해결하세요:
- 웹사이트 파일과 데이터베이스를 백업하세요.
- 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 ); } - 그런 다음, 양식을 약간 수정하고 번역을 위해 다시 보내세요.