Theme customization sections not translated
-
Hi
I use evision-corporate theme. In theme customization there is an option for front page editing. In this section I can write something like about, service and etc. These sections can be link to a page. The pages which link to them are well translated but the text for title or content of sections are not. The codes are this:$evision_corporate_settings_controls['evision-corporate-about-main-title'] = array( 'control' => array( 'label' => __( 'About section main title', 'evision-corporate' ), 'section' => 'evision-corporate-about', 'type' => 'text_html', 'priority' => 4, 'description' => '', 'active_callback' => '' ) ); $evision_corporate_settings_controls['evision-corporate-about-main-content'] = array( 'control' => array( 'label' => __( 'About section main content', 'evision-corporate' ), 'section' => 'evision-corporate-about', 'type' => 'textarea_html', 'priority' => 6, 'description' => '', 'active_callback' => '' ) );
I want to translate ‘About section main title’ and ‘About section main content’. I know there is pll_register_string() but i don know how to use it.
Thanks
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Theme customization sections not translated’ is closed to new replies.