Jump to content

Recommended Posts

I am not so familiar with this attribute. Is this the reason the translate this site icon shows up beside the address bar?

When it's included in an element like a div it will only translate only what's inside the actual div?

When it's included in the <HTML> tag will it translate the whole site?  (<html lang="no" translate="yes">)

Link to comment
https://forums.phpfreaks.com/topic/314987-a-few-questions-about-translateyes/
Share on other sites

37 minutes ago, LeonLatex said:

Is this the reason the translate this site icon shows up beside the address bar?

I'm guessing that's a browser feature. For example, Google Chrome automatically shows an icon to translate a website when you view a page written in a foreign language. More information can be found here:
https://support.google.com/chrome/answer/173424

The translate attribute sounds like it can be used to control how these automatic translation services work. For example, you can say that a particular word shouldn't be translated since it is a brand name.

  • Great Answer 1
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.