Forum Moderators: Robert Charlton & goodroi

Message Too Old, No Replies

Notranslate meta tag not working for me

         

sadgirlever

5:45 pm on Jan 15, 2009 (gmt 0)

10+ Year Member



i upload this info because i won't my web page translated:

<meta name="google" value="notranslate">

but it didn't work untill now what's wrong....is it take for a while or what?
someone answer me and help me please

tedster

6:00 pm on Jan 15, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hello sadgirlever, and welcome to the forums.

The meta tag that you have looks right - and it should be instant in its effect, at least that's what I understand. Have you double-checked your pages to be sure there are no mistakes there?

You could also try this and see if it stops translation of your content.

<body class="notranslate">

Google Help reference [google.com]

sadgirlever

4:16 pm on Jan 17, 2009 (gmt 0)

10+ Year Member



when i upload this info in the head of my web page:
<meta name="google" value="notranslate">

it effect on page...the text really can't translated,but the page still work...i won't my web page allow to watch because
some people when they put this info in the head of there page
it apearing message like:

sorry; page file contains the quality (application / octet-stream) can not be translated.
http://www.....net/
Please choose from the following:

Back to the previous page "
Back to search results
See the original page

and that's what i want of my web page appearing TT0TT
and i think when you said i put this in the head of my web page:
<body class="notranslate">
i think this is for (text only if i won't translated)not the whole page
because i read in this link
[google.com...]

If you prefer not have your page translated by Google Translate, just insert the following meta tag into your HTML file:

<meta name="google" value="notranslate">

If you don't want a section of your webpage to be translated, just add "class=notranslate" to any HTML element to prevent that element from being translated. For example:

Email us at <span class="notranslate">sales at example dot com</span>

What do I do if I don't want my (webpage) to be translated?

so do you have any idea to make the page dosen't show
for example do i have to use robort.txt or something actually i don't know....any idea you have!

[edited by: tedster at 8:23 pm (utc) on Jan. 17, 2009]
[edit reason] disabled link [/edit]

tedster

8:27 pm on Jan 17, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The reason I suggested the body tag attribute was as a work-around. Translation only translates the visible text anyway, so not translating the entire body tag would help. But I do understand that you want to see the error message.

I don't know why the meta tag isn't working for you. That meta tag, <meta name="google" value="notranslate">, is exactly what Google says to use.

Have you checked your page for typos and invalid code? You can use the W3C Validator for HTML [validator.w3.org]

[edited by: tedster at 8:47 pm (utc) on Jan. 17, 2009]

tedster

8:47 pm on Jan 17, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I just did the experiment, and the error message "sorry; page file contains the quality (application / octet-stream) can not be translated" is not what happens for me either.

What does happen is the result page stays in the original language - and no translation is created. The error message you hoped to see is Google's response to some other factor about the page, and not the class="notranslate" meta tag.

johnnie

5:42 pm on Jan 18, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Don't forget to close your meta tags.

<meta name="google" value="notranslate">

should be

<meta name="google" value="notranslate" />

It's small, but maybe it makes a difference?

tedster

7:54 pm on Jan 18, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



It depends on your doctype, johnnie. The "close" that you recommmend is for the xhtml doctypes, not html.

sadgirlever

1:39 pm on Jan 20, 2009 (gmt 0)

10+ Year Member



please anyone...can you give me any idea to make this page about translate doesn't work...i want make this page error
as example appearing this message:
sorry; page file contains the quality (application / octet-stream) can not be translated"

or any other solution ..i will be very happy if you help me ...what exactly i must put in the head of my web page to make this translate page doesn't work..because some of web site when i click on translate page it show me page error....or other phrase like "sorry page can't translate"....what can i do?!
someone help please!

Receptional Andy

1:48 pm on Jan 20, 2009 (gmt 0)



The message that you quoted ("page file contains the quality (application / octet-stream) can not be translated") suggests a technical condition that prevents Google from translating the page (they can't translate that type of file).

It would be possible to prevent translation by blocking the user-agent Google uses when accessing pages. See How to Block Google Translate from Translating Our Sites? [webmasterworld.com] for some ideas.