WordPress.org

Forums

Google Language Translator
[resolved] Translation Management (5 posts)

  1. alzaweb
    Member
    Posted 1 year ago #

    HELLO! Jut noticed the following:
    Turn on translation management?
    (Managed directly through your Google account. Requires Google Translate meta tag installed in header.)

    Could you please specify what header of the wordpress files you are referring too.

    THANKS!

    https://wordpress.org/plugins/google-language-translator/

  2. Rob Myrick
    Member
    Plugin Author

    Posted 11 months ago #

    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

  3. alzaweb
    Member
    Posted 11 months ago #

    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!

  4. alzaweb
    Member
    Posted 11 months ago #

    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!

  5. Rob Myrick
    Member
    Plugin Author

    Posted 11 months ago #

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Google Language Translator
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.