How to specify your webpage's language so Google Chrome doesn't offer to translate it

前端 未结 7 766
心在旅途
心在旅途 2020-12-01 04:03

I have a page that Google Chrome insists on thinking is in French. Here\'s a snapshot of it:

http://yootles.com/outbox/overcleverchrome.html

Note that I\'m i

7条回答
  •  余生分开走
    2020-12-01 04:54

    I found a post which might help you: http://www.blogsdna.com/4593/how-to-stop-google-from-translating-your-website-or-webpage.htm

    You can either use a meta tag:

    
    

    Or you can use a class:

    
    

    I hope that answered your question.

    EDIT: I Just checked my blog which I offer in German and English. On each language version Chrome doesn't ask me for translation: http://kau-boys.de

    I checked my source code and the multilanguage plugin only included this code:

     
    

    So maybe your locale needs to have a subregion, like US in this example.

提交回复
热议问题