LeonLatex Posted July 1, 2022 Share Posted July 1, 2022 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">) Quote Link to comment https://forums.phpfreaks.com/topic/314987-a-few-questions-about-translateyes/ Share on other sites More sharing options...
cyberRobot Posted July 1, 2022 Share Posted July 1, 2022 More information can be found here:https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/translate 1 Quote Link to comment https://forums.phpfreaks.com/topic/314987-a-few-questions-about-translateyes/#findComment-1597838 Share on other sites More sharing options...
cyberRobot Posted July 1, 2022 Share Posted July 1, 2022 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. 1 Quote Link to comment https://forums.phpfreaks.com/topic/314987-a-few-questions-about-translateyes/#findComment-1597839 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.