Support » Plugin: Google Language Translator » Translation Management

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Rob Myrick

    (@rm2773)

    Hi alzaweb,

    Thanks for your message, and I apologize for the delayed response.

    Your theme will have a file called header.php, and you will need to add a special piece of HTML code there.

    Follow the instruction from this other thread, and let me know if you are able to get up and running.

    http://wordpress.org/support/topic/can-i-edit-the-text-translated?replies=6

    I will help further if still needed. Please keep me posted.

    Rob Myrick

    HELLO Rob!

    I followed your kind instructions… However, my theme’s header doesn’t have the coding as you mentioned in the tag you referred me to.

    Wonder if that is the only way…

    This is the code shown on top of my theme’s header:

    <?php

    $color_class = ‘blue’;

    if(isset($_GET[‘action’])) {
    if($_GET[‘action’] == ‘register’) {
    aviators_flash_add_message(‘AVIATORS_FLASH_SUCCESS’, __(‘Registration complete. Please check your e-mail.’));
    }
    }

    if (get_theme_mod(‘general_variant’) != ”) {
    $general_variant = get_theme_mod(‘general_variant’);

    $name = explode(‘-‘, $general_variant);
    $classes = explode(‘.’, end($name));

    if (!empty($classes[0])) {
    $color_class = $classes[0];
    }
    }

    I checked the theme’s template folder and found these files:
    – index.twig

    <head>
    <meta http-equiv=”Content-Type” content=”text/html; charset=windows-1252″>
    </head>

    {% extends 'layout.twig' %}
    {% block content %}
        {% include 'helpers/content-loop.twig' %}
    {% endblock %}

    – page.twig

    <head>
    <meta http-equiv=”Content-Type” content=”text/html; charset=windows-1252″>
    </head>

    {% extends 'layout.twig' %}
    {% block content %}
        {% include 'helpers/content-loop.twig' %}
    {% endblock %}

    THANKS in advance for all your SUPPORT!

    HELLO Rob!
    A brief note to let you know that I was able to resolve my lat thread…
    THANKS SO MUCH FOR ALL YOUR SUPPORT + WISH YOU ALL THE BEST! You did a GREAT plugin! Check what you helped me to do at alzamls.com GOD BLESS!

    Plugin Author Rob Myrick

    (@rm2773)

    No probs, alzaweb! Thanks for your patience. Best of luck!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Translation Management’ is closed to new replies.