Hi there,
?I apologize for the delay in response.
In order to translate texts from Customizer you need to change some theme files.
1. Open wp-content/themes/vega/functions.php file and add this line before the closing php tag ?>
:
pll_register_string('Front Page Banner Heading', vega_wp_get_option('vega_wp_frontpage_banner_heading'), true);
2. Then open wp-content/themes/vega/parts/frontpage-banner.php file and replace this line:
<h1 class="block-title wow zoomIn"><?php echo esc_html($vega_wp_frontpage_banner_heading) ?></h1>
with this:
<h1 class="block-title wow zoomIn"><?php echo pll__(esc_html($vega_wp_frontpage_banner_heading)) ?></h1>
Then please go to Languges → String translations and you should see new string “Frontpage Banner Heading” which you can translate as you wish.
Please note also that you will lose all modifications after next theme update so the best way to add these changes would be creating Child Theme and add these modifications there.
Hope that helps.
Kind regards
-
This reply was modified 7 years, 5 months ago by
jarektheme.