Arthur Camberlein >> SEO & Data articles >> No translate attribute for HTML tag

No translate attribute for HTML tag

Written by Arthur Camberlein | Published on & updated on

Based on a tweet (yes again), I wanted to show you a good tip about HTML and internalization. This is also something useful for SEO, especially when you need/want internationalization for your content.

translate="no"

The main use case

The main use case I would know for this no translate HTML code would be for your brand name and your baseline. That way they will always stay as you created them.

Example:

<p><span translate="no">AC Consulting</span> is my brand name.</p>

Another use case

Another use case for me would be your name, especially where some people have a common first or last name. OR even when your name could mean something else in another language.

Another example:

<p><span translate="no">Arthur Camberlein</span> is my name and should not be translated.</p>
Back to blog

Learn more with the article FAQ

No translate attribute for HTML tag - FAQs

When should use the translate="no" attribute?

You should use the `translate="no"` attribute on your HTML when this is something that don't need to be translated, such as your brand name or a brand of one of your products.

What is the translate attribute for, and how should I use it?

The `translate` attribute in HTML5 indicates that the content of the element should or should not be translated. It won't affect your page rendering, but help in any case where someone try to use a translation add on or browser.

How to disable Google translate from HTML in Chrome?

Like shown on this article, you should use the attribute. Please don't use the "old version" that was

Blog post taggued in: HTML, Tips

Written by