Translate words that are missing in plugin translattion
-
Im trying to translate Academist theme from Qode but there are some words that are hard codded into the php (I guess) that are no where to find using Loco translation.
I have found the file where this is coded.
Its in wp-content/plugins/academist-lms/post-types/course/admin/meta-boxes/lesson-meta-boxes.phpacademist_elated_create_meta_box_field( array( 'name' => 'eltdf_course_duration_parameter_meta', 'type' => 'select', 'label' => esc_html__( 'Course Duration Parameter', 'academist-lms' ), 'description' => esc_html__( 'Choose parameter for course duration', 'academist-lms' ), 'default_value' => 'minutes', 'parent' => $meta_box, 'options' => array( '' => esc_html__( 'Default', 'academist-lms' ), 'minutes' => esc_html__( 'Minutes', 'academist-lms' ), 'hours' => esc_html__( 'Hours', 'academist-lms' ), 'days' => esc_html__( 'Days', 'academist-lms' ), 'weeks' => esc_html__( 'Weeks', 'academist-lms' ), ) ) );
The words I need translating are minutes, hours, days, weeks.
Is there a way to put a string in their place that I can translate the sting in from the Admin panel?Tnx for the plugin!
Gorast
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Translate words that are missing in plugin translattion’ is closed to new replies.