- 상태
- 해결됨
- 관련 플러그인/테마
- The Events Calendar PRO
문제 개요
The Events Calendar 플러그인이 wp_options 테이블(관리자 텍스트)에 저장한 텍스트를 번역할 때, 원본 언어 버전이 프런트엔드에 표시됩니다.

임시 해결 방법
테마의 functions.php 파일에 다음 코드를 추가하여 번역을 수정할 수 있습니다.
add_filter('tribe_get_single_option', 'tribe_options_multilingual', 20, 3);
function tribe_options_multilingual( $option, $default, $option_name ) {
if (is_string($option)) {
return apply_filters( 'wpml_translate_single_string', $option, 'admin_texts_tribe_events_calendar_options', '[tribe_events_calendar_options]' . $option_name);
} else {
return $option;
}
}