W3C home > Mailing lists > Public > public-html-comments@w3.org > March 2015

Re: <code> element and scripting languages

From: Steve Faulkner <faulkner.steve@gmail.com>
Date: Sun, 15 Mar 2015 10:40:39 +0000
Message-ID: <CA+ri+V=UwaF-XHi-ve7Y0S4zE8W7PQQkUMsmTzNF0+brb+smWQ@mail.gmail.com>
To: Andrea Rendine <master.skywalker.88@gmail.com>
Cc: public-html-comments@w3.org
On 13 March 2015 at 18:19, Andrea Rendine <master.skywalker.88@gmail.com>

> On the other hand, I had a funny experience some days ago while looking at
> an automated translation of a page in my language. This page contained PHP
> and JS code snippets, as well as a native scripting language. This means
> that it was full of control expressions such as "if ... else", "while",
> "function", "print" and so on.
> As you can easily imagine, these words in the snippet had been translated,
> thus making the snippets themselves useless.

Dear Skywalker,

translate is the attribute you are looking for

Using HTML's translate attribute



HTML 5.1 <http://www.w3.org/html/wg/drafts/html/master/>
Received on Sunday, 15 March 2015 10:41:45 UTC

This archive was generated by hypermail 2.3.1 : Sunday, 15 March 2015 10:41:46 UTC