Reply To: Translating sections of home page

#779
jayen
Participant

Thanks. We already managed to work this out with polylang by adding this code to bizlight_get_all_options:

        // added by jayen
        if (function_exists('pll_register_string'))
            foreach ($bizlight_customizer_saved_values as $key => $value) {
                pll_register_string($key, $value, 'bizlight');
                $bizlight_customizer_saved_values[$key] = pll__($value);
            }