Tagged: 

This topic contains 5 replies, has 2 voices, and was last updated by  creativekaji 12 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #760

    jayen
    Participant

    Where do I go to put in translations for sections of the home page? Anything that is coming from a page seems to work fine, but the strings in customize.php don’t appear to have anywhere to enter a translation.

    #772

    creativekaji
    Keymaster

    Hello Jayen.

    Our theme is fully translation ready. You can find the required file in languages > bizlight.pot. For translation, there are so many WordPress plugin or editor available.

    Regards.
    eVision Themes

    #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.

    #777

    creativekaji
    Keymaster

    Hello Jayen,

    Yes! Our theme allows to translate every text we escaping in Theme. We like to recommend Loco Translate plugin, which is available at wordpress.org.
    URL: https://wordpress.org/plugins/loco-translate/.

    Hoping it will work!

    Regards,
    eVision Themes

    #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);
                }
    #780

    creativekaji
    Keymaster

    Hi,

    Great to hear your problem was solved. If you have any further queries, don’t hesitate to contact us or post. Thanks.

    Regards,
    eVision Themes

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

You must be logged in to reply to this topic.