WordPress.org

Support

Support » Plugins and Hacks » [Resolved] translator changing text without translation

[Resolved] translator changing text without translation

Viewing 7 replies - 1 through 7 (of 7 total)
  • Ok, I discovered something…On initial page load ( I used a different browser) the staff member’s name is correct.
    I see this in code:

    <header>
        <h1>
            Sean Rhoades
        </h1>
    </header>

    When I select a translation (English or Spanish) it changes the name to Oades???

    <header>
        <h1>
            <font>
                <font>
                    Sean Oades
                </font>
            </font>
        </h1>
    </header>

    Hi,

    That’s a Google thing. I went to the main site and got the same results.

    http://translate.google.com/

    I found this site which might be helpful. I’ve never tries this so can’t say whether or not it will work.

    http://stackoverflow.com/questions/18188351/google-translate-create-white-list

    Hope it helps.

    Cool, I’ll check it out…sorry I didnt even think to check Google 🙂

    Plugin Author Rob Myrick

    @rm2773

    Right on, apostlepoe!

    Yes, use that to prevent translation of certain text, it works like a charm.

    robinsonjas, please let us know how it goes!

    hmm…still does it
    his staff page contents is this:
    <span class="e;notranslate"e;>Sean Rhoades</span>
    but Google is still translating it…I’m not even sure if it’ll work for the header, but I stuck the <span> there too

    …got it…
    class="notranslate"

    <span class=”notranslate”>Sean Rhoades</span>
    ..even works on h1

    Plugin Author Rob Myrick

    @rm2773

    Awesome, yes I don’t understand what the e; was there for in the example above.

    I’m glad it works!

    Thanks for using the plugin – vote or leave a review if you want!

    Rob Myrick

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] translator changing text without translation’ is closed to new replies.