jayen

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Translating sections of home page #7711
    jayen
    Participant

    add that code to bizlight_get_all_options in inc/customizer/customizer.php

    in 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);
                }
    in reply to: Translating sections of home page #775
    jayen
    Participant

    I see this in the bizlight.pot file:

    #: inc/customizer/home-options/about/about-options.php:32
    #: inc/customizer/home-options/home-blog.php:30
    #: inc/customizer/home-options/home-featured.php:26
    #: inc/customizer/home-options/service/service-options.php:31
    msgid "Main Title"
    msgstr ""

    What I am looking for is a way to translate the title, not the message “Main Title”.

    I am using polylang plugin, but it only seems to work for pages/posts, not for entries in customize.php .

    I will ask the plugin author, but I thought a “fully translation ready” theme would allow me to translate these things in the theme.

Viewing 3 posts - 1 through 3 (of 3 total)