W3C home > Mailing lists > Public > www-html@w3.org > March 2007

Preliminary localization of XHTML into Chinese

From: Yahoo <brettz9@yahoo.com>
Date: Fri, 2 Mar 2007 00:06:04 +0800
Message-Id: <A1BD397C-CE51-4EF6-8451-98E4D085E4BC@yahoo.com>
To: www-html@w3.org

Greetings all,

I am not sure whether this may have been done before (I'd be  
surprised if it hadn't), but since I haven't heard of it, here it  
goes...

I wrote a preliminary XML language using Chinese characters to  
represent the elements, attributes, and specified attribute values of  
XHTML--no DTD or XML Schema yet--to be transformed by a XSLT sheet  
that I devised (with translation help from my wife) into XHTML (or a  
modular variety thereof). It manages to work fine (with a few nuances  
depending on whether viewing in Explorer or Firefox), at least for  
the relatively small files I've tested it on.

I was wondering in what forum it would be appropriate to make this  
announcement, and if there is interest, provide the stylesheets and  
sample XML.

I am sure that the translations must not be wholly suitable (my wife  
is just a beginner in X/HTML and my own Chinese is quite limited) and  
even my XSL stylesheet may have some shortcomings, but I figure it is  
a beginning, if no such language already exists.

I have also designed one version of the stylesheet with entities, so  
it can be easily localized into other languages (another version is  
without entities so that it will work with more server-side  
transformation software like PHP5's XSL extension).

I would also like to see CSS and possibly even a decent feature set  
of Javascript and PHP made into a localized XML representation which  
could then be transformed into actual CSS (or Javascript, PHP, etc.).  
I presume, even for English this could also have its uses.

sincerely,
Brett
Received on Thursday, 1 March 2007 21:23:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:16:08 GMT