- From: Jirka Kosek <jirka@kosek.cz>
- Date: Wed, 17 Apr 2013 22:18:20 +0200
- To: Yves Savourel <ysavourel@enlaso.com>
- CC: public-multilingualweb-lt@w3.org
- Message-ID: <516F038C.9000000@kosek.cz>
Hi Yves, thanks for excellent summary! > I think it's important to make the distinction between translatable > value that can be consumed as it, and the ones that require a > secondary parsing (CSS, JavaScript, etc.). Initially I was making > them very distinct as 'directly' and 'indirectly' translatable. But > maybe it's simpler to see them all as translatable, and simply have a > mention about the "special" content. I think that we don't need treat CSS/Javascript in the special way. It's edge case and there is no need to waste resources on it. In the worst case blocks of code will be translated as units. It will work, but it will be very inefficient. But implementations are free to provide proprietary mechanism which will further parse CSS/Javascript. If this became common we can think about standardizing this for ITS 3.0. > The next problem is that the HTML5 translate mechanism doesn't match > exactly ITS's translate. its:translate does not applies to the > attributes, while html:translate applies to only the 'translatable' > attributes. I think the only way to resolve this is to state it in > the specification. Agreed. > So, I think that we should just describe the default behavior and not > try to provide a way to implement it with global rules. and the > implementers will do whatever they think is best in their application > to come up with the behavior. As I already said we can describe defaults in prose or formally using rules. I have no preference in this, so having textual definition only is fine for me. > As for the question about backward compatibility with HTML 4.x, etc. > I'd say they are out of scope. HTML4 doesn't provide translate attribute nor it provides its-* attributes. > And for XHTML? Is there a reason we can't we just apply the same > defaults? What do we say for (xml:)id and (xml:)lang? We should say same as for id and lang in HTML. Jirka -- ------------------------------------------------------------------ Jirka Kosek e-mail: jirka@kosek.cz http://xmlguru.cz ------------------------------------------------------------------ Professional XML consulting and training services DocBook customization, custom XSLT/XSL-FO document processing ------------------------------------------------------------------ OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 rep. ------------------------------------------------------------------ Bringing you XML Prague conference http://xmlprague.cz ------------------------------------------------------------------
Received on Wednesday, 17 April 2013 20:18:54 UTC