• mariajcrgomes

    (@mariajcrgomes)


    Hi,

    Can anyone help me? I’m using the theme Arcade from bavotasan.com, and I didn’t had any problem translating everything with Polylang plugin in this theme, except for the homepage.

    How do I translate the Jumbo Headline, the “see more” botton and “from the blog”?

    This is urgent, I’m delaying a lot of things just because of this problem. Someone give me a solution.

    https://www.ads-software.com/plugins/polylang/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter mariajcrgomes

    (@mariajcrgomes)

    This is the answer of the theme author I’m using:

    Both “From the Blog” and “See More” should be translatable through the .PO language file. Since the Jumbo Headline is live text, you will have to use a plugin that offers some sort of tag to use on live text.

    How do translate the live text?

    sit441

    (@sit441)

    Hi,

    For translating text in php I use this:

    <?php
                            $currentlang = get_bloginfo('language');
                            if($currentlang=="en-US"):
                        ?>
                    		<h2>ENGLISH TXT</h2>
                        <?php else: ?>
                    		<h2>OTHER LANGUAGE</h2>
                        <?php endif; ?>

    Maybe it will help you solve the problem!

    Thread Starter mariajcrgomes

    (@mariajcrgomes)

    First of all thank you ?? I’m not an expert on this, could you tell me where do I put that?
    Thank you

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Translate homepage Arcade theme URGENT’ is closed to new replies.