This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 26069 - editorial: data-mytrans-all example
Summary: editorial: data-mytrans-all example
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-12 08:05 UTC by Simon Pieters
Modified: 2014-06-12 16:37 UTC (History)
2 users (show)

See Also:


Attachments

Description Simon Pieters 2014-06-12 08:05:48 UTC
http://html5.org/r/8671#diff

[[
+   <pre>&lt;p>The third &lt;span data-mytrans-de="Anspruch">claim&lt;/span> covers the case of &lt;span
+data-mytrans-all="HTML">HTML&lt;/span> markup.&lt;/p></pre>
+
+   <p>(In this example, the "<code data-x="">data-mytrans-de</code>" attribute gives specific text
+   for the MyTrans product to use when translating the phrase "claim" to German, and the "<code
+   data-x="">data-mytrans-all</code>" attribute gives tells it that in all languages, "HTML" is to
+   remain unchanged.)</p>
]]

Wouldn't it be better for MyTrans to use translate="no" for things that should remain unchanged?
Comment 1 Ian 'Hixie' Hickson 2014-06-12 16:37:37 UTC
Yeah, that makes sense.
Comment 2 contributor 2014-06-12 16:37:47 UTC
Checked in as WHATWG revision r8674.
Check-in comment: Fix recent checkins, including the one with a translation example
http://html5.org/tools/web-apps-tracker?from=8673&to=8674